﻿/* Page wrapper */
.page-card {
    background: #fff;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.06)
}

    .page-card .card-body {
        padding: 1.25rem
    }

/* Stepper */
.bs-stepper.stepper-icons .bs-stepper-header {
    gap: .75rem;
    padding: .25rem .25rem .5rem;
    border-bottom: 1px solid var(--bs-border-color)
}

.bs-stepper.stepper-icons .step .step-trigger {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #fff;
    border: 1px solid var(--bs-border-color);
    border-radius: .9rem;
    padding: .45rem .7rem;
    transition: .15s
}

.bs-stepper.stepper-icons .step .bs-stepper-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg,#eef4ff,#dfe9ff);
    color: #0d6efd;
    font-weight: 800;
    box-shadow: inset 0 0 0 2px rgba(13,110,253,.25)
}

.bs-stepper.stepper-icons .step.active .step-trigger, .bs-stepper.stepper-icons .step .step-trigger:focus {
    border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(13,110,253,.15)
}

.bs-stepper.stepper-icons .step.active .bs-stepper-circle {
    background: #0d6efd;
    color: #fff;
    box-shadow: none
}

.bs-stepper.stepper-icons .step .bs-stepper-label {
    display: flex;
    flex-direction: column;
    line-height: 1.1
}

    .bs-stepper.stepper-icons .step .bs-stepper-label .bs-stepper-title {
        font-weight: 700;
        font-size: .95rem
    }

.bs-stepper.stepper-icons .step.crossed .bs-stepper-circle {
    background: #e9f6ee;
    color: #198754;
    box-shadow: inset 0 0 0 2px rgba(25,135,84,.25)
}

.bs-stepper.stepper-icons .line {
    align-self: stretch;
    width: 44px;
    position: relative;
    opacity: .9
}

    .bs-stepper.stepper-icons .line::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 4px;
        transform: translateY(-50%);
        background: #e9ecef;
        border-radius: 999px
    }

/* Slim progress bar (top) */
.stepper-topbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: .5rem 0 1rem
}

.stepper-meta {
    display: flex;
    flex-direction: column;
    min-width: 60px
}

    .stepper-meta .title {
        font-weight: 800;
        line-height: 1
    }

    .stepper-meta .small {
        color: #6b7280
    }

.step-progress.progress {
    height: 6px;
    flex: 1;
    background: #eef2f7
}

.step-progress .progress-bar {
    background: #0d6efd;
    transition: width .25s ease
}

/* Buttons */
#uca-page .button-action {
    display: flex;
    gap: .75rem
}

/* Loaders/empty states */
.loader-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem
}

.spinner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0d6efd;
    margin: 0 4px;
    animation: sd .9s infinite alternate
}

    .spinner-dot:nth-child(2) {
        animation-delay: .15s
    }

    .spinner-dot:nth-child(3) {
        animation-delay: .3s
    }

@@keyframes sd {
    to {
        opacity: .3;
        transform: translateY(-5px)
    }
}

.empty-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center
}

.empty-icon {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    border: 1px dashed #d0d7e2;
    display: grid;
    place-items: center;
    margin-bottom: .6rem
}

    .empty-icon svg {
        width: 44px;
        height: 44px;
        color: #6b7280
    }

.notice-card {
    max-width: 520px;
    border-radius: 1rem;
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 12px 28px rgba(0,0,0,.06)
}

.member-illustration {
    width: 120px;
    height: 120px
}

.float {
    animation: float 3s ease-in-out infinite;
    transform-origin: center
}

@@keyframes float {
    0%, 100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

/* NRC preview upload (no FilePond) */
.upload-preview-box {
    border: 1px dashed #cfd6e4;
    border-radius: .75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    background: #fafbff;
    cursor: pointer;
    text-align: center
}

    .upload-preview-box:hover {
        background: #f4f7ff
    }

    .upload-preview-box .hint {
        color: #6b7280;
        font-size: .9rem
    }

    .upload-preview-box img {
        max-height: 140px;
        max-width: 100%;
        border-radius: .5rem
    }

.upload-actions {
    display: flex;
    gap: .5rem;
    margin-top: .5rem
}
