﻿.page-str {
    position: relative;
    text-align: center;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

    .page-str::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 3px;
        background-color: #ccc;
    }

    .page-str h1 {
        margin: 10px;
        color: #1f3c68;
        font-size: 2.4rem;
        font-weight: 700;
        line-height: 1.15;
        letter-spacing: 4px;
    }

    .page-str h2 {
        margin: 6px 0 0;
        color: #6b7280;
        font-size: 0.95rem;
        font-weight: 500;
        line-height: 1.2;
    }


/*   .page-background {
                                                background-image: url('/images/bg-form.png');
                                                background-repeat: no-repeat;
                                                background-position: center top;
                                                background-size: 100% auto;
                                            } */

.wrapper {
    /*display: inline-block;*/
    margin-right: auto;
    margin-left: auto;
    padding-left: 0px;
    padding-right: 0px;
    width: 80%;
}

.form-check {
    padding-left: 2.5em;
}

.tag {
    height: 30px;
    width: 30px;
    background-color: #434f80;
    border-radius: 50%;
    display: inline-block;
    padding: 5px;
    border: 2px solid #ffb824;
    color: white;
    font-size: 11px;
}

.custom-info-alert {
    background: linear-gradient(90deg,#f8fbff 0%,#eef5ff 100%);
    border: 1px solid #d8e6f7;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    overflow: hidden;
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 9px;
    border-bottom: 1px solid #d8e6f7;
    background: rgba(47,95,179,.05);
}

.alert-icon i {
    font-size: 20px;
    color: #2f5fb3;
}

.alert-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #2f5fb3;
    text-transform: uppercase;
}

.alert-content {
    padding: 16px 20px;
}

    .alert-content ul {
        margin: 0;
        padding-left: 20px;
    }

    .alert-content li {
        margin-bottom: 2px;
        line-height: 1.7;
        color: #374151;
        font-size: .95rem;
    }

        .alert-content li:last-child {
            margin-bottom: 0;
        }

    .alert-content strong {
        color: #0f3d91;
        font-weight: 700;
    }


.validation-message {
    min-height: 1.5rem;
}

.custom-alert-card {
    background-color: #e9f6fc;
    border-left: 5px solid #5c7eb0;
    /* border-right: 5px solid #0078d4; */
    border-radius: 8px;
    padding: 1.5rem;
    color: #004a74;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
}

    .custom-alert-card ul {
        margin: 0;
        padding-left: 1rem;
    }

    .custom-alert-card li {
        list-style-type: disc;
    }

.tooltip-inner {
    line-height: 1.2;
    padding: 6px 10px;
    font-size: 0.9rem;
}

/*  pendapatan .input-wrapper, .input-wrapper .form-control, .input-wrapper .suffix*/
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-wrapper .form-control {
        padding-right: 3rem; /* ruang untuk .00 */
        /* text-align: left; */
    }

    .input-wrapper .suffix {
        position: absolute;
        right: 10px;
        color: #000; /* warna suffix */
    }

.progress-wrapper {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 0;
}

/* -- accordion -- */
/* COLLAPSE / TERTUTUP */
.custom-accordion-header.collapsed {
    min-height: 60px;
    padding: 0 4rem 0 1.5rem;
    justify-content: flex-start;
    text-align: left;
    color: #ffffff !important;
    font-size: 1rem;
    border: 1px solid #0b4f91;
    border-radius: 10px !important;
    background: radial-gradient(circle, rgba(255,255,255,.16) 1.2px, transparent 1.5px) left center / 11px 11px no-repeat, radial-gradient(circle, rgba(255,255,255,.16) 1.2px, transparent 1.5px) right center / 11px 11px no-repeat, linear-gradient(135deg, transparent 0 27%, rgba(255,255,255,.035) 27% 36%, transparent 36% 66%, rgba(91,115,220,.22) 66% 78%, transparent 78%), linear-gradient(90deg, #233ea5 0%, #192f8d 48%, #233ea5 72%, #3659c7 100%) !important;
    box-shadow: none !important;
}

/* TAK COLLAPSE / TERBUKA */
.custom-accordion-header:not(.collapsed) {
    min-height: 60px;
    padding: 0 1.5rem;
    justify-content: flex-start;
    text-align: left;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(35, 62, 165, 0.35);
    border-radius: 12px 12px 0 0 !important;
    background: radial-gradient(circle, rgba(255,255,255,.16) 1.2px, transparent 1.5px) left center / 11px 11px no-repeat, radial-gradient(circle, rgba(255,255,255,.16) 1.2px, transparent 1.5px) right center / 11px 11px no-repeat, linear-gradient(135deg, transparent 0 27%, rgba(255,255,255,.035) 27% 36%, transparent 36% 66%, rgba(91,115,220,.22) 66% 78%, transparent 78%), linear-gradient(90deg, #233ea5 0%, #192f8d 48%, #233ea5 72%, #3659c7 100%) !important;
    box-shadow: 0 4px 12px rgba(35, 62, 165, 0.18) !important;
}

/* HOVER */
.custom-accordion-header.collapsed:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #06437f, #2c70b8);
}

.custom-accordion-header:not(.collapsed):hover {
    color: #e9ebee !important;
}

/* FOCUS */
.custom-accordion-header:focus {
    box-shadow: none !important;
}

/* ARROW — PUTIH BILA COLLAPSE */
.custom-accordion-header.collapsed::after {
    filter: brightness(0) invert(1);
}

/* ARROW — BIRU BILA TERBUKA */
.custom-accordion-header:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(18%) sepia(91%) saturate(1548%) hue-rotate(188deg) brightness(85%) contrast(101%);
}

/* POSISI ARROW */
.custom-accordion-header::after {
    position: absolute;
    right: 2rem;
}

/* CONTAINER */
.accordion-item {
    overflow: hidden;
    border: 1px solid #c9daed;
    border-radius: 10px !important;
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(13, 58, 110, 0.1);
}

/* BODY */
.accordion-body {
    background: #ffffff;
    border-top: 1px solid #c9daed;
}

.accordion-body {
    background: #ffffff;
    border-top: 1px solid #c9daed;
}

.details-group {
    width: 100%;
    height: 48px;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    background: #fff;
    border: 1px solid #d3dceb;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .details-group:focus-within {
        border-color: #9fb5d8;
        box-shadow: 0 0 0 .2rem rgba(47, 61, 126, .08);
    }

    /* Icon */
    .details-group .details-icon {
        width: 46px; /* sebelum 40px/42px */
        min-width: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        background: transparent;
        border: 0;
        position: relative;
    }

        .details-group .details-icon i {
            font-size: 1.3rem; /* atau 1.4rem kalau nak lagi besar */
            color: #2f3d7e;
        }

        /* Garisan pendek di tengah seperti CAPTCHA */
        .details-group .details-icon::after {
            content: "";
            position: absolute;
            right: 0;
            top: 13px;
            bottom: 13px;
            width: 1px;
            background: #e0e6ef;
        }

    /* Input */
    .details-group .details-input {
        flex: 1;
        min-width: 0;
        height: 100%;
        padding: 0 14px;
        background: transparent;
        border: 0 !important;
        border-radius: 0 !important;
        outline: none;
        box-shadow: none !important;
        color: #334155;
        font-size: .95rem;
        font-weight: 400;
    }

    /* Buang style Bootstrap input-group */
    .details-group > .form-control:focus {
        z-index: auto;
        border: 0 !important;
        box-shadow: none !important;
    }

    .details-group .details-input::placeholder {
        color: #9aa9c2;
        opacity: 1;
    }

    /* Disabled */
    .details-group .details-input:disabled {
        color: #64748b;
        background: #f8fafc;
        opacity: 1;
    }

    /* Keseluruhan kotak nampak disabled */
    .details-group:has(.details-input:disabled) {
        background: #f8fafc;
    }

.alamat-group {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.alamat-icon {
    width: 44px;
    min-width: 44px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12px;
    color: #07357a;
    background-color: #f4f7fc;
    border: 1px solid #d4deec;
    border-right: 0;
    border-radius: 7px 0 0 7px;
}

    .alamat-icon i {
        font-size: 16px;
    }

.alamat-inputs {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.alamat-input {
    width: 100%;
    height: 42px;
    padding: 6px 12px;
    border: 1px solid #d4deec;
    border-radius: 0;
    box-shadow: none;
}

.alamat-input-first {
    border-radius: 0 7px 0 0;
}

.alamat-input-middle {
    margin-top: -1px;
}

.alamat-input-last {
    margin-top: -1px;
    border-radius: 0 0 7px 0;
}

.alamat-input:focus {
    position: relative;
    z-index: 2;
    border-color: #2f3d7e;
    box-shadow: 0 0 0 0.15rem rgba(47, 61, 126, 0.12);
}

.alamat-input:disabled {
    color: #6c757d;
    background-color: #eef1f5;
}

.upload-empty-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 18px;
    padding: 20px 24px;
    border-radius: 14px;
    background: #f4f9ff;
    border: 1px solid #cde3fb;
}

    .upload-empty-alert i {
        font-size: 38px;
        color: #2f6fd8;
    }

    .upload-empty-alert .title {
        font-weight: 700;
        color: #123b73;
        font-size: 1.05rem;
    }
