﻿
#regModal .modal-dialog {
    max-width: 760px;
}

#regModal .modal-content {
    border: 1px solid #DCDFE4;
    border-radius: 8px;
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2B2F38;
}

#regModal .modal-header {
    background: #fff;
    border-bottom: 2px solid #1F5DB2;
    padding: 20px 28px;
}

#regModal .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1A1D24;
    margin: 0;
}

    #regModal .modal-title small {
        display: block;
        font-size: 0.78rem;
        font-weight: 500;
        color: #6B7280;
        margin-bottom: 3px;
    }

#regModal .modal-body {
    padding: 28px;
    max-height: 72vh;
    overflow-y: auto;
}

/* ---- Sections ---- */
.form-section {
    margin-bottom: 28px;
}

.form-section-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1F5DB2;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E5E7EB;
}

/* ---- Fields ---- */
#regModal .form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #3A3F4B;
    margin-bottom: 5px;
}

    #regModal .form-label .req {
        color: #C0392B;
        margin-left: 2px;
    }

#regModal .form-control,
#regModal .form-select {
    border: 1px solid #D1D5DB;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 0.92rem;
    color: #1F2430;
}

    #regModal .form-control:focus,
    #regModal .form-select:focus {
        border-color: #1F5DB2;
        box-shadow: 0 0 0 3px rgba(31, 93, 178, 0.12);
        outline: none;
    }

#regModal textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

.field-hint {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.76rem;
    color: #8A8F99;
}

/* ---- Upload ---- */
.upload-note {
    font-size: 0.78rem;
    color: #8A8F99;
    margin: 8px 0 0;
}

/* ---- Declaration ---- */
.declaration-box {
    background: #F7F8FA;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 16px 18px;
}

    .declaration-box .form-check {
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }

    .declaration-box .form-check-input {
        margin-top: 3px;
        flex: none;
    }

    .declaration-box label {
        font-size: 0.85rem;
        color: #3A3F4B;
        line-height: 1.55;
        margin: 0;
    }

/* ---- Footer ---- */
#regModal .modal-footer {
    padding: 16px 28px;
    border-top: 1px solid #E5E7EB;
}

#regModal .btn-primary {
    background: #1F5DB2;
    border: none;
    font-weight: 500;
    padding: 8px 22px;
    border-radius: 5px;
}

    #regModal .btn-primary:hover {
        background: #184A8F;
    }

#regModal .btn-outline-secondary {
    border: 1px solid #D1D5DB;
    color: #3A3F4B;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 5px;
    background: transparent;
}

    #regModal .btn-outline-secondary:hover {
        background: #F3F4F6;
    }


