/* ========================================
   Awards Detail Page Styles
   ======================================== */

:root {
    --sb-dark-1: #0d1b2a;
    --sb-dark-2: #1b263b;
    --sb-dark-3: #415a77;
    --sb-yellow: #ffed00;
    --sb-glass: rgba(255, 255, 255, 0.03);
    --sb-glass-border: rgba(255, 255, 255, 0.1);
    --sb-text-muted: rgba(255, 255, 255, 0.6);

    --award-gold: #F59E0B;
    --award-gold-dark: #D97706;
    --award-silver: #94A3B8;
    --award-bronze: #B45309;
    --award-special: #0D9488;
}

/* ========================================
   Hero Section
   ======================================== */
.award-hero {
    background: linear-gradient(135deg, var(--sb-dark-1) 0%, var(--sb-dark-2) 50%, var(--sb-dark-3) 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    margin-top: -80px;
}

.award-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(245, 158, 11, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.award-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 40%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(79, 172, 254, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.award-honeycomb {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='56' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0-12l20-12V22L28 10 8 22v20l20 12z' fill='%23F59E0B' fill-opacity='0.025'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.award-hero-content {
    position: relative;
    z-index: 10;
}

.award-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.award-hero-breadcrumb a {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--sb-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.award-hero-breadcrumb a:hover { color: var(--award-gold); }

.award-hero-breadcrumb span {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--award-gold);
}

.award-hero-breadcrumb iconify-icon { color: var(--sb-text-muted); }

.award-hero-level-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.award-hero-level-badge.level-gold {
    background: linear-gradient(135deg, var(--award-gold), var(--award-gold-dark));
    color: #1b1b1b;
}

.award-hero-level-badge.level-silver {
    background: linear-gradient(135deg, var(--award-silver), #64748B);
    color: #ffffff;
}

.award-hero-level-badge.level-bronze {
    background: linear-gradient(135deg, var(--award-bronze), #92400E);
    color: #ffffff;
}

.award-hero-level-badge.level-special {
    background: linear-gradient(135deg, var(--award-special), #0F766E);
    color: #ffffff;
}

.award-hero-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.award-hero-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: var(--sb-text-muted);
    margin-bottom: 1.75rem;
}

.award-hero-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.award-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: var(--sb-text-muted);
}

.award-hero-meta-item iconify-icon {
    font-size: 1.1rem;
    color: var(--award-gold);
}

/* ========================================
   Content Section
   ======================================== */
.award-content-section {
    background: linear-gradient(180deg, var(--sb-dark-2) 0%, var(--sb-dark-1) 100%);
    padding: 80px 0 100px;
    position: relative;
}

.award-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sb-glass-border), transparent);
}

/* ========================================
   Certificate Preview
   ======================================== */
.award-certificate-preview {
    background: var(--sb-glass);
    border: 1px solid var(--sb-glass-border);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
}

.award-certificate-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--award-gold), var(--award-gold-dark));
    z-index: 1;
}

.award-certificate-preview img {
    width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ========================================
   Content Cards
   ======================================== */
.award-content-card {
    background: var(--sb-glass);
    border: 1px solid var(--sb-glass-border);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.award-content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--award-gold), var(--award-gold-dark));
    border-radius: 20px 20px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.award-content-card:hover::before {
    transform: scaleX(1);
}

.award-content-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--sb-glass-border);
}

.award-content-card-title iconify-icon {
    font-size: 1.3rem;
    color: var(--award-gold);
}

.award-content-card-body {
    font-family: 'Nunito', sans-serif;
    font-size: 0.975rem;
    color: var(--sb-text-muted);
    line-height: 1.8;
}

.award-content-card-body strong {
    color: #ffffff;
}

/* ========================================
   Recipients List
   ======================================== */
.award-recipients-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0.5rem;
}

.award-recipient-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff;
}

.award-recipient-item iconify-icon {
    font-size: 1.1rem;
    color: var(--award-gold);
    flex-shrink: 0;
}

/* ========================================
   Sidebar
   ======================================== */
.award-sidebar-card {
    background: var(--sb-glass);
    border: 1px solid var(--sb-glass-border);
    border-radius: 20px;
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.award-sidebar-header {
    padding: 1.75rem 1.75rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--sb-glass-border);
    position: relative;
}

.award-sidebar-header.level-gold {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(217, 119, 6, 0.08));
}

.award-sidebar-header.level-silver {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.12), rgba(100, 116, 139, 0.08));
}

.award-sidebar-header.level-bronze {
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.12), rgba(146, 64, 14, 0.08));
}

.award-sidebar-medal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.award-sidebar-medal-icon.level-gold {
    background: linear-gradient(135deg, var(--award-gold), var(--award-gold-dark));
    box-shadow: 0 8px 24px -4px rgba(245, 158, 11, 0.5);
}

.award-sidebar-medal-icon.level-silver {
    background: linear-gradient(135deg, var(--award-silver), #64748B);
    box-shadow: 0 8px 24px -4px rgba(148, 163, 184, 0.4);
}

.award-sidebar-medal-icon.level-bronze {
    background: linear-gradient(135deg, var(--award-bronze), #92400E);
    box-shadow: 0 8px 24px -4px rgba(180, 83, 9, 0.4);
}

.award-sidebar-medal-icon i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.award-sidebar-level-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.award-sidebar-level-sub {
    font-family: 'Nunito', sans-serif;
    font-size: 0.82rem;
    color: var(--sb-text-muted);
}

/* Sidebar Details */
.award-sidebar-details {
    padding: 1.5rem 1.75rem;
}

.award-sidebar-section-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--sb-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
}

.award-sidebar-detail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--sb-glass-border);
}

.award-sidebar-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.award-sidebar-detail-item iconify-icon {
    font-size: 1.1rem;
    color: var(--award-gold);
    flex-shrink: 0;
    margin-top: 1px;
}

.award-sidebar-detail-item span {
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    color: var(--sb-text-muted);
    line-height: 1.5;
}

.award-sidebar-detail-item span strong {
    display: block;
    color: #ffffff;
    font-weight: 600;
}

/* Back Button */
.award-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: var(--sb-glass);
    border: 1px solid var(--sb-glass-border);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--sb-text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.award-back-btn:hover {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--award-gold);
    text-decoration: none;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 992px) {
    .award-hero {
        padding: 120px 0 60px;
        text-align: center;
    }

    .award-hero-breadcrumb { justify-content: center; }

    .award-hero-meta-row { justify-content: center; }

    .award-sidebar-card {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .award-hero-title { font-size: 1.8rem; }
}
