
/* =========================================
   PENDAFTARAN DIKLAT BLKM MEDAN
========================================= */

.pendaftaran-page {
    padding: 65px 0 55px;
    background: #f5f9f6;
    min-height: 100vh;
}

/* HEADER */

.pendaftaran-header {
    max-width: 720px;
    margin: 0 auto 35px;
    text-align: center;
}

.pendaftaran-header-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #198754;
    color: #fff;
    border-radius: 20px;
    font-size: 27px;
    box-shadow: 0 10px 25px rgba(25, 135, 84, .18);
}

.pendaftaran-eyebrow {
    display: inline-block;
    color: #198754;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.pendaftaran-header h1 {
    color: #173b2b;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
}

.pendaftaran-header p {
    color: #718078;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* INFORMATION */

.pendaftaran-info {
    max-width: 850px;
    margin: 0 auto 22px;
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #eaf6ee;
    border: 1px solid #d7ecde;
    border-radius: 12px;
}

.pendaftaran-info-icon {
    color: #198754;
    font-size: 23px;
    padding-top: 2px;
}

.pendaftaran-info strong {
    display: block;
    color: #185b39;
    font-size: 14px;
    margin-bottom: 5px;
}

.pendaftaran-info p {
    color: #587365;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.required-mark {
    color: #dc3545;
    font-weight: 700;
}

/* MAIN CARD */

.pendaftaran-card {
    max-width: 850px;
    margin: 0 auto;
    padding: 38px 42px;
    background: #fff;
    border: 1px solid #e6eee8;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(29, 65, 43, .06);
}

/* FORM SECTION */

.form-section {
    margin-bottom: 36px;
}

.form-section:not(:first-of-type) {
    padding-top: 30px;
    border-top: 1px solid #edf1ed;
}

.form-section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}

.form-section-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #198754;
    background: #eaf6ee;
    border-radius: 12px;
    font-size: 19px;
}

.form-section-heading h4 {
    color: #193e2d;
    font-size: 18px;
    font-weight: 750;
    margin: 0 0 4px;
}

.form-section-heading p {
    color: #849188;
    font-size: 13px;
    margin: 0;
}

/* FORM INPUT */

.form-group {
    margin-bottom: 22px;
}

.pendaftaran-card .form-label {
    display: block;
    color: #30483a;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 9px;
}

.pendaftaran-card .form-control,
.pendaftaran-card .form-select {
    width: 100%;
    min-height: 51px;
    padding: 12px 15px;
    color: #344b3d;
    background-color: #fbfdfb;
    border: 1px solid #dce8df;
    border-radius: 10px;
    font-size: 14px;
    transition: all .25s ease;
    box-shadow: none;
}

.pendaftaran-card textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.pendaftaran-card .form-control::placeholder {
    color: #a3afa7;
}

.pendaftaran-card .form-control:focus,
.pendaftaran-card .form-select:focus {
    background: #fff;
    border-color: #198754;
    box-shadow: 0 0 0 4px rgba(25, 135, 84, .10);
    outline: none;
}

.pendaftaran-card .form-control.is-invalid {
    border-color: #dc3545;
}

.field-hint {
    display: block;
    color: #929e95;
    font-size: 12px;
    margin-top: 7px;
}

/* UPLOAD */

.upload-area {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 23px;
    background: #f7fbf8;
    border: 1px dashed #a9cbb5;
    border-radius: 13px;
}

.upload-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdeeee;
    color: #dc3545;
    border-radius: 12px;
    font-size: 22px;
}

.upload-content {
    flex: 1;
    min-width: 0;
}

.upload-content .form-control {
    background: #fff;
}

/* WARNING */

.pendaftaran-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 20px;
    margin: 5px 0 28px;
    background: #fff8e9;
    border: 1px solid #f5e4bd;
    border-radius: 11px;
    color: #a16d18;
    font-size: 19px;
}

.pendaftaran-warning strong {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.pendaftaran-warning p {
    color: #987c4d;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}

/* BUTTONS */

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 25px;
    border-top: 1px solid #edf1ed;
}

.btn-back,
.btn-submit {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 23px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s ease;
}

.btn-back {
    color: #65736a;
    background: #fff;
    border: 1px solid #dce5de;
}

.btn-back:hover {
    color: #198754;
    background: #f4faf6;
    border-color: #198754;
}

.btn-submit {
    color: #fff;
    background: #198754;
    border: 1px solid #198754;
    cursor: pointer;
}

.btn-submit:hover {
    color: #fff;
    background: #146c43;
    border-color: #146c43;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(25, 135, 84, .18);
}

/* FOOTER */

.pendaftaran-footer {
    max-width: 850px;
    margin: 20px auto 0;
    color: #8b9990;
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
}

/* ALERT */

.pendaftaran-card .alert {
    border-radius: 10px;
    font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 767px) {

    .pendaftaran-page {
        padding: 40px 0;
    }

    .pendaftaran-header {
        padding: 0 12px;
        margin-bottom: 28px;
    }

    .pendaftaran-header h1 {
        font-size: 26px;
    }

    .pendaftaran-header p {
        font-size: 13px;
    }

    .pendaftaran-card {
        padding: 25px 20px;
        border-radius: 14px;
    }

    .form-section {
        margin-bottom: 28px;
    }

    .form-section:not(:first-of-type) {
        padding-top: 25px;
    }

    .form-section-heading h4 {
        font-size: 16px;
    }

    .form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .btn-back,
    .btn-submit {
        width: 100%;
    }

    .upload-area {
        padding: 16px;
        gap: 12px;
    }

}

@media (max-width: 400px) {

    .pendaftaran-card {
        padding: 20px 15px;
    }

    .pendaftaran-header h1 {
        font-size: 23px;
    }

    .pendaftaran-info {
        padding: 15px;
    }

    .upload-area {
        flex-direction: column;
    }

}
