.alaqsa-hrm-employee-master-form-wrapper {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 50px 0 0 0;
}
.alaqsa-hrm-employee-master-form {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e2e2e2;
    padding: 36px 30px 28px 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-family: 'Segoe UI', Arial, sans-serif;
}
.alaqsa-hrm-title {
    text-align: center;
    font-size: 2em;
    color: #1a2540;
    margin-bottom: 1.8em;
    padding-top: 0;
}
.alaqsa-hrm-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.alaqsa-hrm-col {
    flex: 1 1 320px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.alaqsa-hrm-employee-master-form label {
    font-weight: 500;
    color: #2d3a55;
    margin-bottom: 8px;
}
.alaqsa-hrm-employee-master-form input[type="text"],
.alaqsa-hrm-employee-master-form input[type="number"],
.alaqsa-hrm-employee-master-form input[type="date"],
.alaqsa-hrm-employee-master-form input[type="file"],
.alaqsa-hrm-employee-master-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #c2cbe6;
    border-radius: 5px;
    background: #f8faff;
    font-size: 1em;
    color: #1a2540;
    margin-top: 7px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.alaqsa-hrm-employee-master-form input:focus,
.alaqsa-hrm-employee-master-form textarea:focus {
    border-color: #4d6ee4;
    outline: none;
}
.alaqsa-hrm-btn {
    margin-top: 18px;
    padding: 12px 0;
    background: #008cba;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}
.alaqsa-hrm-btn:hover {
    background: #005f79;
}
.alaqsa-hrm-message {
    max-width: 700px;
    margin: 20px auto 0 auto;
    padding: 14px 18px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}
.alaqsa-hrm-message.success {
    background: #e3ffe3;
    color: #218821;
    border: 1px solid #85e185;
}
.alaqsa-hrm-message.error {
    background: #fff0f0;
    color: #a11d1d;
    border: 1px solid #ffb4b4;
}
.checkbox-row {
    justify-content: center;
    gap: 30px;
    margin-top: 35px;
    font-size: 1.15em;
}

/* Autocomplete dropdown menu styling */
.alaqsa-hrm-autocomplete-list {
    z-index: 9999 !important;
    background: #fff !important;
    border: 1px solid #c2cbe6;
    border-radius: 4px;
    padding: 0;
    margin-top: 2px;
    box-sizing: border-box;
}

/* Each suggestion cell */
.alaqsa-hrm-autocomplete-list .ui-menu-item {
    border-bottom: 0.5px solid #c2cbe6;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1em;
    background: #fff;
    box-sizing: border-box;
    /* Ensure width is 100% of the dropdown menu */
    width: 100%;
}

/* Remove border on last item */
.alaqsa-hrm-autocomplete-list .ui-menu-item:last-child {
    border-bottom: none;
}

/* Highlight on hover/focus */
.alaqsa-hrm-autocomplete-list .ui-state-active {
    background: #f0f8ff !important;
    color: #008cba !important;
}

/* Responsive */
@media (max-width: 900px) {
    .alaqsa-hrm-row {
        flex-direction: column;
        gap: 0;
    }
    .alaqsa-hrm-col {
        min-width: 0;
        margin-bottom: 12px;
    }
    .alaqsa-hrm-employee-master-form {
        padding: 16px 6px;
    }
}