/* Authentic Hindu/Vedic Theme Enhancement */

body {
    background: linear-gradient(180deg, #FFF8E7 0%, #FEF5E7 50%, #FDF2E9 100%);
    background-attachment: fixed;
}

.dp-card,
.card,
.vrat-card,
.date-card,
.festival-card,
.temple-card,
.content-card,
.rashi-card,
.circuit-card,
.holiday-card {
    background: linear-gradient(145deg, #FFFFFF 0%, #FFFAF0 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(139, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.dp-card::before,
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37, #FF6B00, #D4AF37);
}

.dp-planet-summary-table,
.panchang-table,
.calendar-table,
table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(139, 0, 0, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.dp-section-content,
.section-content,
.panchang-section,
.data-section,
.info-section,
.content-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.dp-planet-summary-table thead,
.panchang-table thead {
    background: linear-gradient(135deg, #8B0000 0%, #5C0000 100%);
}

.dp-planet-summary-table th,
.panchang-table th {
    background: transparent;
    color: #FFF;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #D4AF37;
}

.dp-planet-summary-table tbody tr:nth-child(odd),
.panchang-table tbody tr:nth-child(odd) {
    background: rgba(255, 248, 225, 0.5);
}

.dp-planet-summary-table tbody tr:hover,
.panchang-table tbody tr:hover {
    background: rgba(255, 153, 51, 0.15);
}

.vrat-card {
    border-left: 4px solid #D4AF37;
}

.vrat-card.shukla {
    border-left-color: #FF9800;
    background: linear-gradient(135deg, #FFFDE7 0%, #FFF8E1 100%);
}

.vrat-card.krishna {
    border-left-color: #607D8B;
    background: linear-gradient(135deg, #ECEFF1 0%, #CFD8DC 100%);
}

.festival-badge,
.festival-chip {
    background: linear-gradient(135deg, #FF6B00, #FF6D00);
    border: 1px solid #D4AF37;
    color: white;
    font-weight: 500;
}

.nav-dropdown-menu,
.dp-dropdown-menu {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFAF0 100%);
    border: 1px solid rgba(139, 26, 26, 0.2);
    border-top: 3px solid #D4AF37;
}

.year-btn,
.filter-btn.active,
.region-btn.active {
    background: linear-gradient(135deg, #8B0000, #5C0000);
    border: 1px solid #D4AF37;
    color: white;
    font-weight: 500;
}

.year-btn:hover {
    background: linear-gradient(135deg, #A00000, #8B0000);
}

.dp-date-gregorian,
.date-badge,
.vrat-date-badge {
    background: linear-gradient(135deg, #8B0000, #5C0000);
    border: 2px solid #D4AF37;
    color: white;
    border-radius: 8px;
}

.retro-symbol {
    color: #D32F2F;
    font-weight: bold;
    animation: pulse 2s infinite;
}

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

.lagna-row {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 248, 225, 0.5) 100%) !important;
    font-weight: 600;
}

.temple-card,
.temple-list-item {
    border: 1px solid rgba(139, 26, 26, 0.2);
    transition: all 0.3s ease;
}

.temple-card:hover,
.temple-list-item:hover {
    border-color: #D4AF37;
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.15);
    transform: translateY(-2px);
}

.vrat-count,
.muhurat-count {
    background: linear-gradient(135deg, #8B0000, #5C0000);
    border: 2px solid #D4AF37;
    border-radius: 50px;
    padding: 12px 24px;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.count-number,
.count-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #D4AF37;
}

.year-nav {
    background: linear-gradient(90deg, rgba(139, 26, 26, 0.05) 0%, rgba(255, 153, 51, 0.1) 50%, rgba(139, 26, 26, 0.05) 100%);
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(139, 26, 26, 0.1);
}

input[type="date"],
input[type="time"],
input[type="text"],
select {
    border: 1px solid rgba(139, 26, 26, 0.2);
    border-radius: 4px;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

input[type="date"]:focus,
input[type="time"]:focus,
input[type="text"]:focus,
select:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
    outline: none;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #FFF8E1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8B0000, #5C0000);
    border-radius: 4px;
}

.page-icon i.fa-om {
    color: #D4AF37;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.daily-significance-section {
    margin-bottom: 20px;
}

.significance-card {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFAF0 100%);
    border-left: 4px solid #FF6B00;
}

.significance-header {
    background: linear-gradient(90deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 107, 0, 0.05) 100%);
}

.significance-header h2 {
    color: #FF6B00;
}

.significance-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 12px;
}

.significance-text strong {
    color: #8B0000;
}

.significance-advice {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    padding: 12px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 6px;
}

.quick-navigation-section {
    margin-bottom: 20px;
}

.quick-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.quick-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFFAF0 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    text-decoration: none;
    color: #8B0000;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.quick-nav-link:hover {
    background: linear-gradient(135deg, #FF6B00, #FF8C00);
    color: white;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .quick-nav-links {
        flex-direction: column;
        align-items: stretch;
    }
    
    .quick-nav-link {
        justify-content: center;
    }
    
    .vrat-count,
    .muhurat-count {
        padding: 8px 16px;
    }
    
    .count-number,
    .count-value {
        font-size: 1.5rem;
    }
}
