#fpm-admission-form {
    max-width: 1100px;
    margin: 30px auto;
    font-family: Arial, sans-serif;
    color: #222;
}

#fpm-admission-form h2 {
    margin-bottom: 10px;
}

.fpm-note {
    color: #666;
}

.fpm-section {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 18px 0;
    background: #fff;
}

.fpm-section h3 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.fpm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.fpm-grid label,
.fpm-section > label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
}

.fpm-grid input,
.fpm-grid select,
.fpm-grid textarea,
.fpm-section input,
.fpm-section select,
.fpm-section textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-weight: 400;
}

.fpm-check {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 7px;
    margin: 8px 15px 8px 0;
    font-weight: 500 !important;
}

.fpm-check input {
    width: auto !important;
}

.fpm-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.fpm-inline label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.fpm-inline input {
    width: auto;
}

.fpm-exam {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.fpm-table-wrap {
    overflow-x: auto;
}

.fpm-education {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
}

.fpm-education th,
.fpm-education td {
    border: 1px solid #ddd;
    padding: 8px;
    vertical-align: top;
}

.fpm-education input {
    min-width: 100px;
}

.fpm-declaration {
    line-height: 1.7;
}

.fpm-submit {
    background: #1261a0;
    color: #fff;
    border: 0;
    border-radius: 5px;
    padding: 13px 25px;
    cursor: pointer;
    font-size: 16px;
}

.fpm-submit:disabled {
    opacity: .6;
    cursor: wait;
}

.fpm-loading {
    margin-top: 10px;
}

.fpm-response {
    margin: 15px 0;
    padding: 12px 15px;
    border-radius: 5px;
    display: none;
}

.fpm-response.success,
.fpm-response.error {
    display: block;
}

.fpm-response.success {
    background: #e9f8ee;
    border: 1px solid #75c58c;
}

.fpm-response.error {
    background: #fff0f0;
    border: 1px solid #e07a7a;
}

.fpm-hp {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}

@media (max-width: 700px) {
    .fpm-grid {
        grid-template-columns: 1fr;
    }

    .fpm-section {
        padding: 14px;
    }
}
