/* Kundli Generator Styles */

.kundli-report {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.report-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #ff6b35;
}

.report-header h2 {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
}

.birth-details {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Chart Section */
.chart-section {
    margin: 40px 0;
}

.chart-section h3,
.planets-section h3,
.dasha-section h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.vedic-chart {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.chart-diamond {
    position: relative;
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(4, 120px);
    grid-template-rows: repeat(4, 120px);
    gap: 0;
    transform: rotate(45deg);
    border: 3px solid #333;
}

.chart-cell {
    border: 1px solid #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    transform: rotate(-45deg);
    padding: 8px;
}

.chart-cell.empty {
    background: #f5f5f5;
    border: none;
}

.house-number {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 11px;
    font-weight: bold;
    color: #999;
}

.house-planets {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 18px;
    color: #ff6b35;
}

.planet-symbol {
    font-weight: bold;
}

/* Planets Table */
.planets-section {
    margin: 40px 0;
}

.planets-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.planets-table thead {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.planets-table th,
.planets-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.planets-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.planets-table tbody tr:hover {
    background: #f9f9f9;
}

.planets-table td strong {
    color: #ff6b35;
}

/* Dasha Section */
.dasha-section {
    margin: 40px 0;
    background: linear-gradient(135deg, #fff5f2 0%, #fffaf7 100%);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #ff6b35;
}

.dasha-info p {
    font-size: 16px;
    margin: 12px 0;
    color: #333;
}

.dasha-info strong {
    color: #ff6b35;
    display: inline-block;
    min-width: 180px;
}

/* Report Actions */
.report-actions {
    margin-top: 40px;
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-download,
.btn-share {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-share {
    background: white;
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

.btn-share:hover {
    background: #ff6b35;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .chart-grid {
        grid-template-columns: repeat(4, 80px);
        grid-template-rows: repeat(4, 80px);
    }
    
    .chart-cell {
        padding: 4px;
    }
    
    .house-planets {
        font-size: 14px;
    }
    
    .planets-table {
        font-size: 14px;
    }
    
    .planets-table th,
    .planets-table td {
        padding: 10px 8px;
    }
    
    .report-header h2 {
        font-size: 28px;
    }
    
    .chart-section h3,
    .planets-section h3,
    .dasha-section h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .chart-grid {
        grid-template-columns: repeat(4, 60px);
        grid-template-rows: repeat(4, 60px);
    }
    
    .house-number {
        font-size: 9px;
    }
    
    .house-planets {
        font-size: 12px;
    }
}

/* Loading Animation */
.btn-loader {
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Print Styles */
@media print {
    .report-actions,
    .kundli-form-wrapper {
        display: none;
    }
    
    .kundli-result {
        box-shadow: none;
    }
}
