/* =========================================
   EVENTS PAGE: AUTHORITATIVE DOCKET LAYOUT
========================================= */

/* --- 1. SOLID PREMIUM HERO --- */
.auth-hero {
    background-color: #8b0000; /* Deep Authoritative Red/Saffron */
    padding: 120px 20px 80px;
    text-align: center;
    color: white;
}

.auth-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.auth-hero-breadcrumb {
    font-size: 1rem;
    font-weight: 500;
}

.auth-hero-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.auth-hero-breadcrumb a:hover {
    color: #fcccba;
}


/* --- 2. OFFICIAL FILTER BAR --- */
.auth-filter-section {
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.auth-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.auth-tabs {
    display: flex;
    gap: 10px;
}

.auth-tab {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 10px 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-tab:hover {
    background: #fff;
    border-color: #d32f2f;
    color: #d32f2f;
}

.auth-tab.active {
    background: #d32f2f;
    border-color: #d32f2f;
    color: white;
}

.auth-search {
    position: relative;
    width: 300px;
}

.auth-search input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
}

.auth-search input:focus {
    border-color: #d32f2f;
}

.auth-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}


/* --- 3. DOCKET EVENT LIST --- */
.auth-events-list-section {
    padding: 60px 0 100px;
    background: #fdfdfd;
}

.auth-events-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.auth-event-row {
    display: flex;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}

.auth-event-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* Image on the Left */
.auth-event-img {
    width: 350px;
    position: relative;
    flex-shrink: 0;
}

.auth-event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 250px;
}

/* Red Divider Line */
.auth-event-divider {
    width: 6px;
    background: #d32f2f;
}

/* Content on the Right */
.auth-event-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-event-cat {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d32f2f;
    margin-bottom: 10px;
}

.auth-event-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
    line-height: 1.3;
}

.auth-event-title a {
    color: inherit;
    text-decoration: none;
    transition: 0.2s;
}

.auth-event-title a:hover {
    color: #d32f2f;
}

.auth-event-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
}

.auth-event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-event-meta i {
    color: #d32f2f;
}

.auth-event-desc {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* The Official Button */
.auth-event-action {
    margin-top: auto;
}

.auth-btn-solid {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #111;
    color: white;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.auth-btn-solid:hover {
    background: #d32f2f;
    color: white;
}

/* Distinct Style for "Past" Events */
.auth-event-row.past .auth-event-divider {
    background: #555; /* Grey out the divider */
}

.auth-event-row.past .auth-event-cat,
.auth-event-row.past .auth-event-meta i {
    color: #555;
}

.auth-event-row.past .auth-btn-solid {
    background: #e0e0e0;
    color: #333;
}

.auth-event-row.past .auth-btn-solid:hover {
    background: #555;
    color: white;
}


/* --- 4. PAGINATION --- */
.auth-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.auth-page {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    color: #333;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
}

.auth-page:hover {
    background: #f9f9f9;
    border-color: #d32f2f;
    color: #d32f2f;
}

.auth-page.active {
    background: #d32f2f;
    border-color: #d32f2f;
    color: white;
}


/* =========================================
   MOBILE RESPONSIVE UPDATES
========================================= */
@media (max-width: 991px) {
    /* Hero */
    .auth-hero { padding: 120px 20px 60px; }
    .auth-hero h1 { font-size: 2.5rem; }
    
    /* Filter Bar */
    .auth-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .auth-tabs {
        flex-wrap: wrap;
    }
    
    .auth-tab {
        flex: 1;
        justify-content: center;
    }
    
    .auth-search {
        width: 100%;
    }
    
    /* Docket Event List -> Stacked Cards */
    .auth-event-row {
        flex-direction: column;
    }
    
    .auth-event-img {
        width: 100%;
        height: 250px;
    }
    
    .auth-event-divider {
        width: 100%;
        height: 6px;
    }
    
    .auth-event-content {
        padding: 25px;
    }
    
    .auth-event-title {
        font-size: 1.6rem;
    }
    
    .auth-event-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .auth-btn-solid {
        width: 100%;
        justify-content: center;
    }
}
