.hrm-form-wrap {
    max-width: 760px;
    margin: 24px 0;
}

.hrm-request-form {
    border: 1px solid #dcdfe4;
    border-radius: 14px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

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

.hrm-field,
.hrm-field-wide {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.hrm-field-wide {
    grid-column: 1 / -1;
}

.hrm-field label {
    font-weight: 700;
    font-size: 14px;
}

.hrm-field input,
.hrm-field textarea {
    width: 100%;
    border: 1px solid #cfd5df;
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 15px;
    line-height: 1.4;
    background: #fff;
}

.hrm-duration-box {
    margin: 20px 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f6f8fb;
    border: 1px solid #e3e8ef;
}

.hrm-allowance {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #5f6b7a;
}

.hrm-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    background: #1d2327;
    color: #fff;
}

.hrm-submit-button:hover,
.hrm-submit-button:focus {
    background: #000;
    color: #fff;
}

.hrm-notice {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
}

.hrm-notice-success {
    background: #ecfdf3;
    border-color: #b7ebc6;
    color: #155724;
}

.hrm-notice-error {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #8a1020;
}

@media (max-width: 640px) {
    .hrm-form-grid {
        grid-template-columns: 1fr;
    }

    .hrm-request-form {
        padding: 18px;
    }
}
