/* ============================================================
   Utility Challenges Page
   ============================================================ */

/* --- Hero Section --- */

#uc-hero-sec {
    padding: 160px 0 100px;
    overflow: hidden;
}

#uc-hero-sec::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(36,201,221,0.12) 0%, rgba(36,201,221,0) 70%);
    pointer-events: none;
}

#uc-hero-cnt {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

#uc-hero-text {
    width: 40%;
    padding-top: 20px;
}

.uc-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

#uc-hero-text h1 {
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 22px;
    color: #161e35;
}

#uc-hero-sub {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

#uc-hero-form-wrap {
    width: 55%;
}

/* --- Form Card --- */

#uc-form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 40px 40px;
    box-shadow: 0 2px 24px rgba(22, 30, 53, 0.08);
    border: 1px solid #e5e9f0;
}

/* --- Progress Bar --- */

.uc-prog-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.uc-prog-bg {
    flex: 1;
    height: 3px;
    background: #e5e9f0;
    border-radius: 2px;
}

.uc-prog-fill {
    height: 100%;
    background: #24c9dd;
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(.4,0,.2,1);
}

.uc-prog-label {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    font-weight: 500;
}

/* --- Slide Transitions --- */

.uc-slide {
    display: none;
}

.uc-slide.active {
    display: block;
    animation: ucFadeUp 0.28s ease;
}

@keyframes ucFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Question Header --- */

.uc-step-counter {
    font-size: 11px;
    font-weight: 600;
    color: #24c9dd;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.uc-q-text {
    font-size: 19px;
    font-weight: 600;
    color: #161e35;
    line-height: 1.35;
    margin: 0 0 5px;
}

.uc-q-sub {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 22px;
    line-height: 1.5;
}

/* --- Options List --- */

.uc-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}

.uc-opt {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 13px 16px;
    border: 1.5px solid #e5e9f0;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.12s, background 0.12s;
    background: #ffffff;
    user-select: none;
}

.uc-opt:hover {
    border-color: #24c9dd;
    background: #f4fcfd;
}

.uc-opt.on {
    border-color: #24c9dd;
    background: #f4fcfd;
}

.uc-opt.on .uc-opt-letter {
    background: #161e35;
    color: #ffffff;
    border-color: #161e35;
}

.uc-opt-letter {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
    margin-top: 1px;
    position: relative;
}

.uc-opt-letter-char {
    transition: opacity 0.1s;
}

.uc-opt-check {
    position: absolute;
    opacity: 0;
    font-size: 13px;
    color: #ffffff;
    transition: opacity 0.1s;
}

.uc-opt.on .uc-opt-letter-char {
    opacity: 0;
}

.uc-opt.on .uc-opt-check {
    opacity: 1;
}

.uc-opt-body {
    flex: 1;
}

.uc-opt-main {
    font-size: 14px;
    color: #161e35;
    font-weight: 500;
    line-height: 1.4;
}

.uc-opt-hint {
    font-size: 12px;
    color: #6b7280;
    margin-top: 3px;
    line-height: 1.45;
}

/* --- Bottom Row --- */

.uc-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.uc-sel-count {
    font-size: 12px;
    color: #6b7280;
    min-height: 18px;
    font-weight: 500;
}

.uc-sel-count.has {
    color: #24c9dd;
}

.uc-next-btn {
    background: #161e35;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 26px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s, opacity 0.15s;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.uc-next-btn:hover:not(:disabled) {
    background: #24c9dd;
}

.uc-next-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.uc-next-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.uc-bottom-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.uc-back-btn {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: color 0.12s;
}

.uc-back-btn:hover {
    color: #161e35;
}

.uc-back-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* --- Done / Results Screen --- */

.uc-done-wrap {
    text-align: center;
    padding: 12px 0 4px;
    animation: ucFadeUp 0.28s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.uc-done-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #f4fcfd;
    border: 1.5px solid #24c9dd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.uc-done-icon svg {
    width: 24px;
    height: 24px;
    color: #24c9dd;
}

.uc-done-title {
    font-size: 20px;
    font-weight: 600;
    color: #161e35;
    margin: 0 0 10px;
}

.uc-done-sub {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.65;
    max-width: 380px;
    margin: 0 auto 22px;
}

.uc-mod-section {
    margin-bottom: 22px;
}

.uc-mod-label {
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.uc-mod-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
}

.uc-mod-tag {
    font-size: 13px;
    background: #f4fcfd;
    color: #161e35;
    border-radius: 25px;
    padding: 6px 16px;
    font-weight: 600;
    border: 1.5px solid #24c9dd;
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
}

a.uc-mod-tag:hover {
    background: #24c9dd;
    color: #ffffff;
}

.uc-divider {
    border: none;
    border-top: 1px solid #f0f3f7;
    margin: 20px 0;
}


.uc-restart-btn {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.12s;
}

.uc-restart-btn:hover {
    color: #161e35;
}

.uc-restart-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.uc-done-wrap .uc-restart-btn {
    margin-top: 16px;
    align-self: flex-start;
    text-align: left;
}


/* ============================================================
   Responsive
   ============================================================ */

@media only screen and (max-width: 1100px) {
    #uc-hero-text h1 {
        font-size: 36px;
    }
}

@media only screen and (max-width: 767px) {
    #uc-hero-sec {
        padding: 120px 0 60px;
    }

    #uc-hero-cnt {
        flex-direction: column;
        gap: 40px;
    }

    #uc-hero-text {
        width: 100%;
        text-align: center;
    }

    #uc-hero-text h1 {
        font-size: 30px;
    }

    #uc-hero-form-wrap {
        width: 100%;
    }

    #uc-form-card {
        padding: 28px 22px 32px;
        border-radius: 12px;
    }
}
