/* ==========================================================================
   Vrat — Consolidated Stylesheet (Wave 4B)
   Extracted from: BPAIO.Shared/Vrat/*.razor (10 Vrat pages)
   Companion override for Pradosh.razor: Vrat/Pradosh.css
   Flag: CssFlags.UseExtractedVratCss
   ========================================================================== */

.vrat-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
    background-color: #FDF8F0;
    min-height: 100vh;
}

.vrat-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c1810;
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.vrat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.vrat-card {
    background: #ffffff;
    border: 1px solid #efe3d6;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    padding-bottom: 0px;
}

.vrat-card-header {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #efe3d6;
    background: #fffaf4;
}

.vrat-card-header i {
    color: #b9451d;
    font-size: 1.1rem;
}

.vrat-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c1810;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vrat-card-body {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.vrat-item {
    background: #ffffff;
    border-bottom: 1px solid #f0e6dc;
    padding: 0.8rem 1rem;
    transition: background 0.2s;
}

.vrat-item:hover {
    background: #fffaf4;
}

.vrat-item:last-child {
    border-bottom: none;
}

.vrat-item-top {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 0.2rem;
}

.vrat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 .3rem;
    border-radius: 50%;
    background: #f0e6dc;
    color: #8B4513;
    font-size: .85rem;
    font-weight: 700;
}

.vrat-item-name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c1810;
}

.vrat-pill {
    padding: .2rem .6rem;
    border-radius: 4px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    background: #efeded;
    color: #555;
}

.vrat-item-date {
    margin-top: .2rem;
    color: #4a4a4a;
    font-size: .8rem;
}

.vrat-timing {
    font-size: 0.75rem;
    color: #555;
    margin-top: 4px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
}

.timing-val {
    color: #b9451d;
    font-weight: 600;
}

.vrat-next-wrap {
    margin-bottom: 1rem;
}

.vrat-item--next {
    background: #fff3e0;
    border-left: 4px solid #c0392b;
    border-bottom: none;
    border-radius: 8px;
}

.vrat-item--next .vrat-pill {
    background: #c0392b;
    color: #fff;
}

.upcoming-title {
    color: #b9451d;
    font-weight: 700;
    font-size: 0.9rem;
}

.vrat-loading {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #efe3d6;
    border-radius: 12px;
    background: #fffaf4;
}

.vrat-spinner {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 3px solid #e8dcd2;
    border-top-color: #c0392b;
    border-radius: 50%;
    animation: vrat-spin .8s linear infinite;
}

@keyframes vrat-spin {
    to {
        transform: rotate(360deg);
    }
}

.vrat-error {
    display: flex;
    gap: .8rem;
    padding: 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid #f5c8c8;
    border-left: 4px solid #c0392b;
    border-radius: 12px;
    background: #fdf5f5;
    color: #8c2f2f;
}

@media (max-width: 900px) {
    .vrat-grid {
        grid-template-columns: 1fr;
    }
}
