/* ============================================
   BNI WILAYAH 02 - PUBLIC PAGE CSS
   ============================================ */

/* HERO / HEADER */
.public-header {
    background: linear-gradient(135deg, var(--bni-navy-dark) 0%, var(--bni-navy) 60%, var(--bni-orange) 100%);
    padding: 24px 0 32px;
    color: var(--white);
}

.public-header .logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.public-header .logo-box {
    width: 52px;
    height: 52px;
    background: var(--bni-orange);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.public-header .header-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.3;
}

.public-header .header-subtitle {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* SCHEDULE CARDS */
.schedule-card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
}

.schedule-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.schedule-card .card-top {
    background: linear-gradient(135deg, var(--bni-navy), var(--bni-orange));
    padding: 16px 20px;
    color: var(--white);
}

.schedule-card .card-date {
    font-size: 0.75rem;
    opacity: 0.85;
    margin-bottom: 4px;
}

.schedule-card .card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.schedule-card .card-body {
    padding: 16px 20px;
}

.schedule-card .outlet-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bni-navy-light);
    color: var(--bni-navy);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

/* OUTLET SELECT STEP */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 28px;
}

.step-item {
    display: flex;
    align-items: center;
    flex: 1;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    position: relative;
    z-index: 1;
}

.step-circle.active {
    background: var(--bni-orange);
    border-color: var(--bni-orange);
    color: var(--white);
}

.step-circle.done {
    background: var(--success);
    border-color: var(--success);
    color: var(--white);
}

.step-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-left: 8px;
    white-space: nowrap;
}

.step-label.active {
    color: var(--bni-orange);
    font-weight: 600;
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--gray-200);
    margin: 0 8px;
}

.step-line.done {
    background: var(--success);
}

/* OUTLET SELECT DROPDOWN */
.outlet-select-wrapper {
    position: relative;
}

.outlet-select-wrapper select {
    appearance: none;
    padding-right: 36px;
    cursor: pointer;
}

/* FORM LAPORAN */
.form-laporan-wrapper {
    max-width: 760px;
    margin: 0 auto;
}

.info-jadwal-box {
    background: linear-gradient(135deg, var(--bni-navy-light), #ffffff);
    border: 1px solid #b8d0ea;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.info-jadwal-box .jadwal-title {
    font-weight: 700;
    color: var(--bni-navy);
    font-size: 1rem;
    margin-bottom: 4px;
}

.info-jadwal-box .jadwal-meta {
    font-size: 0.8rem;
    color: var(--gray-600);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.info-jadwal-box .jadwal-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* SUCCESS PAGE */
.success-wrapper {
    max-width: 560px;
    margin: 60px auto;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #d4edda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--success);
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bni-navy);
    margin-bottom: 8px;
}

.already-wrapper {
    max-width: 560px;
    margin: 60px auto;
    text-align: center;
}

.already-icon {
    width: 80px;
    height: 80px;
    background: #fff3cd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #856404;
}

/* PUBLIC FOOTER */
.public-footer {
    background: var(--bni-navy-dark);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 16px;
    font-size: 0.8rem;
    margin-top: auto;
}

/* ============================================
   MOBILE RESPONSIVE PUBLIC
   ============================================ */
@media (max-width: 576px) {
    .public-header {
        padding: 16px 0 24px;
    }

    .public-header .header-title {
        font-size: 1.1rem;
    }

    .step-label {
        display: none;
    }

    .form-laporan-wrapper {
        padding: 0 4px;
    }
}