/* ==========================================================================
   🏆 COMPETITION REGISTRATION FORM - 2026 UI/UX REDESIGN CSS
   ========================================================================== */

.competition-page {
    background-color: var(--bg-primary, #0a0a0b) !important;
    background-image: radial-gradient(circle at 80% 20%, var(--primary-glow, rgba(230, 0, 35, 0.15)) 0%, transparent 50%),
                      radial-gradient(circle at 20% 80%, var(--primary-glow, rgba(230, 0, 35, 0.1)) 0%, transparent 50%) !important;
    color: var(--text-main, #f5f5f7) !important;
    font-family: var(--font-body, 'Inter', sans-serif) !important;
    padding: 120px 0 80px 0;
    min-height: 100vh;
}

/* Left Column Content Styles */
.comp-badge {
    color: var(--primary, #fc6464);
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: inline-block;
}

.comp-main-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-white, #ffffff);
    margin-bottom: 24px;
}

.comp-main-title span.shine {
    color: var(--primary, #fc6464);
    text-shadow: 0 0 20px rgba(252, 100, 100, 0.35);
}

.comp-intro-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted, #9e9e9f);
    margin-bottom: 35px;
}

/* Entry details badges */
.comp-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.comp-meta-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    padding: 20px;
}

.comp-meta-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted, #9e9e9f);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.comp-meta-val {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-white, #ffffff);
}

.comp-meta-val.fee {
    color: var(--primary, #fc6464);
}

/* Timeline/Journey Steps */
.comp-section-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-white, #ffffff);
    margin-bottom: 25px;
    margin-top: 40px;
}

.journey-list {
    position: relative;
    padding-left: 45px;
    margin-bottom: 40px;
}

.journey-list::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(255, 255, 255, 0.08);
}

.journey-item {
    position: relative;
    margin-bottom: 30px;
}

.journey-item:last-child {
    margin-bottom: 0;
}

.journey-num {
    position: absolute;
    left: -45px;
    top: 2px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-primary, #0a0a0b);
    border: 2px solid var(--primary, #fc6464);
    color: var(--primary, #fc6464);
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(252, 100, 100, 0.2);
}

.journey-item-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white, #ffffff);
    margin-bottom: 4px;
}

.journey-item-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted, #9e9e9f);
}

/* Why Participate grid */
.participate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.participate-card {
    display: flex;
    gap: 16px;
}

.participate-icon {
    font-size: 24px;
    color: var(--primary, #fc6464);
    flex-shrink: 0;
    margin-top: 3px;
}

.participate-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white, #ffffff);
    margin-bottom: 4px;
}

.participate-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted, #9e9e9f);
}

/* Who can participate badges */
.badges-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.comp-badge-pill {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-white, #ffffff);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Key benefits checkmarks */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-muted, #9e9e9f);
}

.benefit-item i {
    color: var(--primary, #fc6464);
    font-size: 16px;
}

/* Right Column Card & Multi-step Form */
.premium-form-card {
    background: rgba(18, 18, 20, 0.8) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card, rgba(255, 255, 255, 0.08)) !important;
    border-radius: 20px !important;
    box-shadow: var(--card-shadow, 0 10px 40px rgba(0, 0, 0, 0.4)) !important;
    padding: 40px !important;
    position: sticky;
    top: 100px;
}

.form-header-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary, #fc6464);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.form-main-heading {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-white, #ffffff);
    margin-bottom: 24px;
}

/* Multi-step progress bars */
.step-progress-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step-progress-bars {
    display: flex;
    gap: 6px;
    flex-grow: 1;
    max-width: 60%;
}

.step-bar {
    height: 4px;
    flex-grow: 1;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.4s ease;
}

.step-bar.active {
    background-color: var(--primary, #fc6464);
    box-shadow: 0 0 8px rgba(252, 100, 100, 0.5);
}

.step-indicator-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted, #9e9e9f);
}

/* Form controls */
.form-step-content {
    display: none;
}

.form-step-content.active {
    display: block;
}

.form-input-group {
    margin-bottom: 24px;
}

.form-input-label {
    display: block;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted, #9e9e9f);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.form-control-premium {
    width: 100% !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--text-white, #ffffff) !important;
    border-radius: 8px !important;
    padding: 12px 18px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    height: auto !important;
}

.form-control-premium::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
    opacity: 1 !important;
}

.form-control-premium::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

.form-control-premium:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

.form-control-premium::-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

.form-control-premium:focus {
    border-color: var(--primary, #fc6464) !important;
    box-shadow: 0 0 12px var(--primary-glow, rgba(252, 100, 100, 0.25)) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    outline: none !important;
}

.form-control-premium option {
    background-color: #111113 !important;
    color: #ffffff !important;
}

/* Date-of-birth picker — force dark calendar popup */
input[type="date"].form-control-premium {
    color-scheme: dark;
    cursor: pointer;
}

/* Fix calendar icon color */
input[type="date"].form-control-premium::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(0.6);
    cursor: pointer;
}
input[type="date"].form-control-premium::-webkit-calendar-picker-indicator:hover {
    filter: invert(1) opacity(1);
}

/* Custom Checkbox Declaration */
.custom-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
}

.custom-checkbox-wrapper input[type="checkbox"] {
    accent-color: var(--primary, #fc6464);
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 3px;
}

.custom-checkbox-label-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted, #9e9e9f);
    margin: 0;
}

/* Captcha alignment */
.captcha-container {
    display: flex !important;
    justify-content: flex-start !important;
    margin-bottom: 24px;
}

.captcha-container .g-recaptcha {
    transform: scale(0.9) !important;
    transform-origin: left top !important;
}

/* Buttons */
.form-buttons-row {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.btn-form-continue {
    flex-grow: 1;
    background-color: var(--primary, #fc6464);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-form-continue:hover:not(:disabled) {
    background-color: var(--primary-hover, #ff8282);
    box-shadow: 0 8px 24px var(--primary-glow, rgba(252, 100, 100, 0.25));
    transform: translateY(-1px);
}

.btn-form-back {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white, #ffffff) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-form-back:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.form-footer-note {
    font-size: 12px;
    color: var(--text-muted, #9e9e9f);
    text-align: center;
    margin-top: 20px;
    display: block;
}

/* QR Code styling */
.premium-qr-wrapper {
    text-align: center;
    margin-bottom: 24px;
}

.premium-qr-img {
    max-width: 180px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Parsley Errors */
.text-danger.error-text {
    color: #ff4d4d !important;
    font-size: 12px;
    margin-top: 6px;
    display: block;
    font-weight: 600;
}

.input-error {
    border-color: #ff4d4d !important;
    box-shadow: 0 0 8px rgba(255, 77, 77, 0.25) !important;
}

@media (max-width: 991px) {
    .competition-page {
        padding: 100px 0 60px 0;
    }
    
    .premium-form-card {
        position: relative;
        top: 0;
        margin-top: 40px;
        padding: 30px 20px !important;
    }
}

@media (max-width: 768px) {
    .participate-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

@media (max-width: 480px) {
    .comp-main-title {
        font-size: 32px !important;
    }

    .comp-meta-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .premium-form-card {
        padding: 24px 16px !important;
    }
    
    .form-main-heading {
        font-size: 20px !important;
    }
    
    .btn-form-continue,
    .btn-form-back {
        padding: 12px 16px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 360px) {
    .premium-form-card {
        padding: 20px 12px !important;
    }
    
    .captcha-container .g-recaptcha {
        transform: scale(0.76) !important;
        transform-origin: left top !important;
    }
}

/* ==========================================================================
   🏆 COMPETITION WINNERS & SHORTLISTED CANDIDATES STYLES
   ========================================================================== */
.results-container {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.results-section {
    margin-bottom: 50px;
}

.results-section-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.results-section-title i {
    font-size: 24px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Candidate Card Base */
.candidate-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.candidate-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.18);
}

/* Avatar/Icon Badge */
.candidate-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(252, 100, 100, 0.15);
    color: var(--primary, #fc6464);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.candidate-info {
    flex-grow: 1;
    min-width: 0;
}

.candidate-name {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.candidate-meta {
    font-size: 12px;
    color: var(--text-muted, #9e9e9f);
    display: flex;
    align-items: center;
    gap: 8px;
}

.candidate-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px;
}

/* Level 2 Specific Styling */
.level2-card {
    border-left: 3px solid #3182ce;
}
.level2-badge {
    background: rgba(49, 130, 206, 0.15);
    color: #63b3ed;
    border: 1px solid rgba(49, 130, 206, 0.3);
}

/* Level 3 Specific Styling */
.level3-card {
    border-left: 3px solid #dd6b20;
}
.level3-badge {
    background: rgba(221, 107, 32, 0.15);
    color: #fbd38d;
    border: 1px solid rgba(221, 107, 32, 0.3);
}

/* Winners Specific Styling */
.winner-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.08);
}

.winner-card:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.15);
}

.winner-avatar {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: #1a1a1a;
}

.winner-badge {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.4);
    font-weight: 700;
}

/* 🏆 FOOTER FIX FOR COMPETITIONS PAGE */
#SITE_FOOTER [data-mesh-id="SITE_FOOTERinlineContent-gridContainer"] > [id="comp-keceeemz"],
#SITE_FOOTER [data-mesh-id="SITE_FOOTERinlineContent-gridContainer"] > interact-element > [id="comp-keceeemz"],
#SITE_FOOTER section#comp-keceeemz,
#SITE_FOOTER #comp-keceeemz {
    margin-bottom: 0px !important;
    margin-top: 0px !important;
}
