/* ====================================
   DESTINY MATRIX - PUBLIC STYLES
   ==================================== */

/* Ð¤Ð¾Ñ€Ð¼ Container */
.dm-form-container {
    max-width: 600px;
    margin: 40px auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.dm-form-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.dm-form-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
}

.dm-form-header p {
    margin: 0;
    opacity: 0.9;
}

.dm-form {
    padding: 40px 30px;
}

.dm-form-group {
    margin-bottom: 25px;
}

.dm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.dm-form-group input[type="text"],
.dm-form-group input[type="email"],
.dm-form-group input[type="number"],
.dm-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.dm-form-group input:focus,
.dm-form-group select:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.dm-form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 13px;
}

.dm-form-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
}

/* Ð¢Ð¾Ð²Ñ‡Ð»ÑƒÑƒÑ€ */
.dm-button {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

.dm-button-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 100%;
}

.dm-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.dm-button-loading {
    display: none;
}

.dm-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
}

.dm-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.dm-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ====================================
   REPORT STYLES
   ==================================== */

.dm-report {
    max-width: 1000px;
    margin: 40px auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.dm-report-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 3px solid #667eea;
    margin-bottom: 40px;
}

.dm-report-header h1 {
    font-size: 36px;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dm-birth-info {
    color: #666;
    font-size: 16px;
}

/* ÐœÐ°Ñ‚Ñ€Ð¸Ñ†Ñ‹Ð½ Ð²Ð¸Ð·ÑƒÐ°Ð» */
.dm-matrix-visual {
    margin: 40px 0;
    text-align: center;
}

.dm-matrix-svg {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

/* ÐœÑÐ´ÑÑÐ»Ð»Ð¸Ð¹Ð½ Grid */
.dm-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.dm-info-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.dm-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.dm-info-card h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin: 0 0 15px 0;
}

.dm-arcana-number {
    font-size: 48px;
    font-weight: bold;
    color: #667eea;
    margin: 10px 0;
}

.dm-info-card h4 {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}

/* Ð¥ÑÑÐ³Ò¯Ò¯Ð´ */
.dm-section {
    margin: 50px 0;
}

.dm-section h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

/* Premium CTA */
.dm-premium-cta {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 50px 0;
}

.dm-premium-cta h2 {
    color: white;
    border: none;
    margin-bottom: 20px;
}

.dm-premium-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.dm-premium-features li {
    padding: 10px 0;
    font-size: 16px;
}

.dm-button-premium {
    background: white;
    color: #f5576c;
    font-size: 18px;
    padding: 16px 40px;
    margin-top: 20px;
}

.dm-button-premium:hover {
    background: #fff;
    transform: scale(1.05);
}

/* ÐÑ€ÐºÐ°Ð½Ð° Ð´ÑÐ»Ð³ÑÑ€ÑÐ½Ð³Ò¯Ð¹ */
.dm-arcana-grid {
    display: grid;
    gap: 30px;
}

.dm-arcana-detail {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #667eea;
}

.dm-arcana-detail h3 {
    color: #667eea;
    margin-bottom: 20px;
}

.dm-arcana-aspects {
    display: grid;
    gap: 20px;
}

.dm-aspect-positive,
.dm-aspect-negative,
.dm-aspect-advice {
    padding: 15px;
    border-radius: 8px;
}

.dm-aspect-positive {
    background: #d4edda;
    border-left: 4px solid #28a745;
}

.dm-aspect-negative {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.dm-aspect-advice {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
}

.dm-aspect-positive h4,
.dm-aspect-negative h4,
.dm-aspect-advice h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

/* Ð¥ÑƒÐ²ÑŒ Ð·Ð°ÑÐ°Ð½Ñ‹ timeline */
.dm-destiny-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.dm-destiny-phase {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.dm-destiny-phase h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.dm-destiny-phase .dm-arcana-number {
    color: white;
}

/* Ð§Ð°ÐºÑ€Ð° ÑÐ¸ÑÑ‚ÐµÐ¼ */
.dm-chakra-system {
    display: grid;
    gap: 15px;
}

.dm-chakra {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.dm-chakra:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.dm-chakra h3 {
    margin: 0;
    font-size: 18px;
    min-width: 200px;
}

.dm-chakra-values {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.dm-chakra-values span {
    background: #f0f0f0;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
}

/* ÐšÐ°Ñ€Ð¼Ñ‹Ð½ ÑÒ¯Ò¯Ð» */
.dm-karma-tail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.dm-karma-item {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.dm-karma-item .dm-arcana-number {
    color: #d84315;
}

/* PDF Download */
.dm-pdf-download {
    text-align: center;
    margin: 50px 0;
}

.dm-button-pdf {
    background: #e74c3c;
    color: white;
    font-size: 18px;
    padding: 16px 40px;
}

.dm-button-pdf:hover {
    background: #c0392b;
}

/* ÐœÐ¸Ð½Ð¸Ð¹ Reports */
.dm-my-reports h2 {
    margin-bottom: 30px;
}

.dm-reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.dm-report-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.dm-report-card:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dm-report-type {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.dm-report-type-free {
    background: #d4edda;
    color: #155724;
}

.dm-report-type-premium {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.dm-report-type-partner {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #333;
}

.dm-report-type-yearly {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    color: white;
}

.dm-report-date,
.dm-report-birth {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.dm-report-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.dm-button-small {
    padding: 8px 16px;
    font-size: 14px;
}

.dm-button-secondary {
    background: #6c757d;
    color: white;
}

.dm-button-secondary:hover {
    background: #5a6268;
}

/* Responsive */
@media (max-width: 768px) {
    .dm-form-row {
        grid-template-columns: 1fr;
    }
    
    .dm-report {
        padding: 20px;
    }
    
    .dm-info-grid,
    .dm-destiny-timeline {
        grid-template-columns: 1fr;
    }
}
