/* The source of funds form. See application/views/landing/source-of-funds.php */

.afri-sof-label {
    display: block;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    margin: 10px 0 4px;
}

.afri-sof-field {
    width: 100%;
    box-sizing: border-box;
    font-size: 15px;
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 10px;
    background: #fff;
    color: #222;
}

textarea.afri-sof-field { resize: vertical; }
input[type="file"].afri-sof-field { padding: 8px; font-size: 13px; }

.afri-sof-send { margin-top: 16px !important; }

.afri-sof-error {
    font-size: 13px;
    color: #c0392b;
    margin: 6px 0;
    text-align: left;
}

.afri-sof-ok {
    font-size: 14px;
    color: #1e8449;
    margin: 6px 0;
}

.afri-sof-note {
    font-size: 13px;
    text-align: left;
    background: #fff6e0;
    color: #5a4300;
    border-radius: 10px;
    padding: 8px 10px;
    margin: 6px 0 10px;
}

/* The pop-up for a customer whose PEP / PIP details were declined: update them or leave them as they are. See assets/landing/scripts/wallet-pep-notice.js */

html.afri-pep-open { overflow: hidden; }

.afri-pep-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.65);
}

.afri-pep-box {
    width: 100%;
    max-width: 420px;
    max-height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    background: #fff;
    color: #222;
    border-radius: 16px;
    padding: 20px 18px 16px;
    text-align: left;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.afri-pep-title { font-size: 20px; line-height: 1.25; margin: 0 0 10px; color: #222; }
.afri-pep-body p { font-size: 14px; line-height: 1.45; margin: 0 0 10px; color: #333; }
.afri-pep-body .afri-pep-hint { font-size: 12px; color: #666; }
.afri-pep-status { min-height: 18px; font-size: 13px; color: #c0392b; margin: 0 0 6px; }

.afri-pep-buttons { display: flex; flex-direction: column; gap: 8px; }

.afri-pep-button {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid #1c6fd1;
    cursor: pointer;
}

.afri-pep-button[disabled] { opacity: 0.6; cursor: default; }
.afri-pep-primary { background: #1c6fd1; color: #fff; }
.afri-pep-secondary { background: #fff; color: #1c6fd1; }
