/* ============================================
   DUTIES PAGE - COMPLETE DARK THEME REDESIGN
   Premium Dark Blue with Glassmorphism
   ============================================ */

/* === BASE PAGE STYLES === */
.duties-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #1a1547 0%, #13102c 50%, #0f0d28 100%);
}

/* === HERO SECTION === */
.duties-hero {
    position: relative;
    padding: 160px 0 40px;
    overflow: hidden;
}

.duties-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(47, 40, 126, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(90, 197, 96, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.duties-hero-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Hero Main (Left Side) */
.duties-hero-main {
    padding-top: 20px;
}

.duties-hero-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.duties-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(90, 197, 96, 0.2) 0%, rgba(90, 197, 96, 0.05) 100%);
    border: 1px solid rgba(90, 197, 96, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #5ac560;
}

.duties-hero-title h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.duties-hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.duties-hero-subtitle strong {
    color: #5ac560;
    font-size: 1.3rem;
}

.co-parent-info {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* Progress Bar - Dark Theme */
.duties-progress-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.duties-progress-bar-wrapper {
    height: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.duties-progress-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, #5ac560 0%, #7dd882 100%);
}

.duties-progress-fill.bg-warning {
    background: linear-gradient(90deg, #f39c12 0%, #f1c40f 100%) !important;
}

.duties-progress-fill.bg-danger {
    background: linear-gradient(90deg, #c0392b 0%, #e74c3c 100%) !important;
}

.duties-progress-fill.bg-success {
    background: linear-gradient(90deg, #5ac560 0%, #7dd882 100%) !important;
}

.duties-progress-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
}

.duties-progress-overlay {
    color: #f39c12;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 4px;
}

/* Trophy */
.duties-trophy {
    text-align: center;
    margin: 16px 0;
}

.duties-trophy .trophy-glow {
    font-size: 4rem;
    display: inline-block;
    animation: trophy-pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

@keyframes trophy-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Hero Actions */
.duties-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-duties-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-duties-action:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
}

/* === PODIUM WIDGET (Right Side) === */
.duties-hero-podium {
    position: relative;
}

.podium-widget {
    background: linear-gradient(145deg, rgba(26, 21, 71, 0.95) 0%, rgba(13, 11, 36, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.podium-widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.podium-widget-icon {
    font-size: 1.3rem;
}

.podium-widget-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Podium Display */
.podium-display {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    min-height: 140px;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.podium-crown {
    position: absolute;
    top: -24px;
    font-size: 1.2rem;
    animation: crown-float 3s ease-in-out infinite;
}

@keyframes crown-float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-4px) rotate(5deg); }
}

.podium-rank {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.podium-item.first .podium-rank {
    font-size: 1.6rem;
}

.podium-name {
    color: #fff;
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
    max-width: 65px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.podium-score {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.podium-item.first .podium-score {
    color: #ffd700;
    font-size: 0.95rem;
}

.podium-pillar {
    width: 60px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 100%);
}

.podium-item.first .podium-pillar {
    height: 60px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: none;
}

.podium-item.second .podium-pillar {
    height: 45px;
    background: linear-gradient(180deg, rgba(192, 192, 192, 0.15) 0%, rgba(192, 192, 192, 0.03) 100%);
    border: 1px solid rgba(192, 192, 192, 0.12);
    border-bottom: none;
}

.podium-item.third .podium-pillar {
    height: 30px;
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.15) 0%, rgba(205, 127, 50, 0.03) 100%);
    border: 1px solid rgba(205, 127, 50, 0.12);
    border-bottom: none;
}

.podium-empty {
    text-align: center;
    padding: 30px 20px;
    color: rgba(255, 255, 255, 0.4);
}

.podium-empty i {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
    opacity: 0.4;
}

/* Podium Widget Footer */
.podium-widget-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 8px;
}

.podium-widget-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-rank-pill {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.user-rank-pill small {
    color: rgba(255, 215, 0, 0.6);
}

.podium-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 500;
    text-decoration: none;
    padding: 5px 10px;
    background: rgba(90, 197, 96, 0.1);
    border: 1px solid rgba(90, 197, 96, 0.2);
    border-radius: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.podium-link-btn:hover {
    background: rgba(90, 197, 96, 0.2);
    border-color: rgba(90, 197, 96, 0.4);
    color: #5ac560;
    text-decoration: none;
}

.podium-link-btn i {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.podium-link-btn:hover i {
    transform: translateX(3px);
}

/* Consent Buttons */
.toplist-consent-toggle {
    display: flex;
    align-items: center;
}

.consent-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 5px 8px;
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: none;
}

.consent-btn-optin {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 193, 7, 0.1) 100%);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.25);
}

.consent-btn-optin:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, rgba(255, 193, 7, 0.15) 100%);
    transform: translateY(-1px);
}

.consent-btn-optout {
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.consent-btn-optout:hover {
    background: rgba(192, 57, 43, 0.1);
    color: #e74c3c;
    border-color: rgba(192, 57, 43, 0.2);
}

/* === MAIN CONTENT === */
.duties-content {
    padding: 0 0 60px;
}

.duties-section {
    margin-bottom: 32px;
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-icon {
    width: 40px;
    height: 40px;
    background: rgba(90, 197, 96, 0.15);
    border: 1px solid rgba(90, 197, 96, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5ac560;
    font-size: 1rem;
}

.section-header h2 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.section-badge {
    background: rgba(90, 197, 96, 0.2);
    color: #5ac560;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* === MY SIGNUPS GRID === */
.my-signups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.signup-card {
    background: linear-gradient(145deg, rgba(47, 40, 126, 0.6) 0%, rgba(35, 30, 95, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.signup-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(90, 197, 96, 0.3);
}

.signup-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.signup-event-name {
    color: #5ac560;
    font-weight: 600;
    font-size: 0.9rem;
}

.signup-date-badge {
    background: rgba(90, 197, 96, 0.2);
    color: #5ac560;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.signup-card-body {
    padding: 12px 14px;
}

.signup-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.signup-detail i {
    color: rgba(255, 255, 255, 0.4);
    width: 14px;
    text-align: center;
}

.signup-detail.helpers {
    color: #ffd700;
}

.signup-detail.helpers i {
    color: #ffd700;
}

.signup-card-actions {
    display: flex;
    gap: 8px;
    padding: 0 14px 14px;
}

.btn-signup-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-signup-action.calendar {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-signup-action.calendar:hover {
    background: rgba(90, 197, 96, 0.15);
    color: #5ac560;
    border-color: rgba(90, 197, 96, 0.3);
}

.btn-signup-action.cancel {
    background: rgba(192, 57, 43, 0.1);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(192, 57, 43, 0.2);
}

.btn-signup-action.cancel:hover {
    background: rgba(192, 57, 43, 0.2);
    color: #e74c3c;
    border-color: rgba(192, 57, 43, 0.4);
}

/* === FILTER BAR === */
.duties-filter-bar {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 20px 24px;
    background: linear-gradient(145deg, rgba(47, 40, 126, 0.5) 0%, rgba(35, 30, 95, 0.3) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    flex-wrap: wrap;
}

.filter-item {
    flex: 1;
    min-width: 160px;
}

.filter-item-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.filter-item-label i {
    color: #5ac560;
    font-size: 0.7rem;
}

.filter-select-wrapper {
    position: relative;
}

.filter-select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
    pointer-events: none;
}

.duties-select {
    appearance: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 10px;
    padding: 10px 36px 10px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.duties-select:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.duties-select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #5ac560;
    box-shadow: 0 0 0 3px rgba(90, 197, 96, 0.1);
    outline: none;
}

.duties-select option {
    background: #1a1547;
    color: #fff;
}

.duties-select.filter-active {
    border-color: #5ac560;
    background: rgba(90, 197, 96, 0.08);
}

.filter-active-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 8px;
    height: 8px;
    background: #5ac560;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 0 6px rgba(90, 197, 96, 0.6);
}

.duties-select.filter-active + .filter-active-dot {
    opacity: 1;
}

.filter-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-filter-reset {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-filter-reset.visible {
    display: inline-flex;
}

.btn-filter-reset:hover {
    background: rgba(192, 57, 43, 0.15);
    border-color: rgba(192, 57, 43, 0.3);
    color: #e74c3c;
}

.filter-count-badge {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 500;
}

.filter-count-badge:not(:empty) {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

/* === EVENTS GRID === */
.events-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card-wrapper {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.event-card-wrapper.filtered-out {
    display: none !important;
}

.event-card {
    background: linear-gradient(145deg, rgba(26, 21, 71, 0.8) 0%, rgba(13, 11, 36, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card:hover {
    border-color: rgba(90, 197, 96, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.event-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.event-info {
    flex: 1;
}

.event-title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.event-location {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.event-location i {
    color: #5ac560;
    margin-right: 4px;
}

.event-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(90, 197, 96, 0.2) 0%, rgba(90, 197, 96, 0.08) 100%);
    border: 1px solid rgba(90, 197, 96, 0.25);
    border-radius: 12px;
    padding: 10px 16px;
    min-width: 60px;
}

.event-day {
    color: #5ac560;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    color: rgba(90, 197, 96, 0.8);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-card-body {
    padding: 20px 24px;
}

/* === AREAS GRID === */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.area-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    transition: all 0.2s ease;
}

.area-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.area-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.area-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.btn-helper-list {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-helper-list:hover {
    background: rgba(90, 197, 96, 0.15);
    border-color: rgba(90, 197, 96, 0.3);
    color: #5ac560;
}

.area-card-info {
    margin-bottom: 14px;
}

.area-time {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.area-time i {
    color: rgba(255, 255, 255, 0.4);
    margin-right: 6px;
}

.area-slots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slots-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.slots-fill {
    height: 100%;
    background: linear-gradient(90deg, #5ac560 0%, #7dd882 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.slots-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 40px;
    text-align: right;
}

.area-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 8px;
}

.area-badge.age-restriction {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.25);
}

.area-card-action {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 14px;
}

/* Area Status */
.area-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

.area-status.status-success {
    background: rgba(90, 197, 96, 0.15);
    color: #5ac560;
    border: 1px solid rgba(90, 197, 96, 0.25);
    margin-bottom: 10px;
}

.area-status.status-info {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.25);
}

.area-status.status-warning {
    background: rgba(192, 57, 43, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(192, 57, 43, 0.25);
}

.area-status.status-muted {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.area-status.status-full {
    background: rgba(192, 57, 43, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(192, 57, 43, 0.2);
}

/* Area Action Buttons */
.btn-area-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-area-action.signup {
    background: linear-gradient(135deg, rgba(90, 197, 96, 0.2) 0%, rgba(90, 197, 96, 0.1) 100%);
    color: #5ac560;
    border: 1px solid rgba(90, 197, 96, 0.3);
}

.btn-area-action.signup:hover {
    background: linear-gradient(135deg, rgba(90, 197, 96, 0.3) 0%, rgba(90, 197, 96, 0.15) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 197, 96, 0.2);
}

.btn-area-action.cancel {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-area-action.cancel:hover {
    background: rgba(192, 57, 43, 0.15);
    color: #e74c3c;
    border-color: rgba(192, 57, 43, 0.3);
}

/* Helper Toggle */
.helper-toggle-row {
    margin-bottom: 10px;
}

.helper-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.helper-checkbox input {
    display: none;
}

.helper-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.helper-checkbox input:checked + .checkmark {
    background: #5ac560;
    border-color: #5ac560;
}

.helper-checkbox input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.6rem;
    color: #fff;
}

.helper-count-group {
    margin-bottom: 12px;
}

.helper-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.85rem;
}

.helper-select option {
    background: #1a1547;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.empty-state i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 16px;
    display: block;
}

.empty-state h3 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* No Filter Results */
.no-filter-results {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.no-filter-results i {
    font-size: 2.5rem;
    color: #5ac560;
    opacity: 0.6;
    margin-bottom: 16px;
    display: block;
}

.no-filter-results h5 {
    color: #fff;
    margin-bottom: 8px;
}

.no-filter-results p {
    color: rgba(255, 255, 255, 0.5);
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .duties-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .duties-hero-podium {
        order: -1;
    }

    .podium-widget {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .duties-hero {
        padding: 100px 0 40px;
    }

    .duties-hero-title h1 {
        font-size: 1.6rem;
    }

    .duties-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .duties-filter-bar {
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .filter-item {
        width: 100%;
    }

    .filter-meta {
        width: 100%;
        justify-content: space-between;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .my-signups-grid {
        grid-template-columns: 1fr;
    }

    .event-card-header {
        flex-direction: column;
        gap: 12px;
    }

    .event-date-box {
        align-self: flex-start;
    }

    .podium-widget-footer {
        flex-direction: column;
        gap: 12px;
    }

    .podium-widget-meta {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 400px) {
    .podium-display {
        gap: 4px;
    }

    .podium-pillar {
        width: 50px;
    }

    .podium-item.first .podium-pillar {
        height: 50px;
    }

    .podium-item.second .podium-pillar {
        height: 38px;
    }

    .podium-item.third .podium-pillar {
        height: 26px;
    }
}

/* === LEGACY SUPPORT (keep old classes working) === */

/* Glow for Progress Bar */
.duties-progress-fill.glow-bar {
    box-shadow: 0 0 15px rgba(90, 197, 96, 0.5), 0 0 30px rgba(90, 197, 96, 0.3);
}

/* Modal Styles for completed duties */
.completed-duty-item {
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    border-left: 4px solid #6c757d;
}
.completed-duty-item.attended {
    border-left-color: #5ac560;
    background: rgba(90, 197, 96, 0.08);
}
.completed-duty-item.not-attended {
    border-left-color: #c0392b;
    background: rgba(192, 57, 43, 0.08);
}
.completed-duty-item .duty-title {
    font-weight: 600;
    margin-bottom: 4px;
}
.completed-duty-item.not-attended .duty-title {
    text-decoration: line-through;
    opacity: 0.7;
}
.completed-duty-item .duty-meta {
    font-size: 0.85rem;
    opacity: 0.9;
}
.duty-summary {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    padding: 14px;
    margin-top: 16px;
}

/* Helper List Modal */
.helper-list-modal {
    text-align: left;
}
.helper-item {
    padding: 10px 14px;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    border-left: 3px solid #5ac560;
}
.helper-item i {
    margin-right: 10px;
    opacity: 0.7;
}
.helper-summary {
    text-align: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Consent status text */
.consent-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 14px;
}

.consent-status.consent-active {
    background: rgba(90, 197, 96, 0.15);
    color: #5ac560;
}

.consent-status.consent-inactive {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
}

/* Loading state for consent button */
.consent-btn.loading {
    pointer-events: none;
}

.consent-btn.loading::after {
    content: '';
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: consent-spin 0.6s linear infinite;
    margin-left: 6px;
}

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