/* ==========================================================================
   General Body and Base Styles
   ========================================================================== */

/* Universal box-sizing rule to make layout calculations more intuitive. */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #e1e9ff;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

/* The main content area that wraps the form and other elements */
main {
    flex-grow: 1; /* This makes the main section expand to fill the available space */
    display: flex;
    justify-content: center; /* This centers the content horizontally */
    align-items: center; /* This centers the content vertically */
    padding: 40px 20px; 
}

/* The form container wrapper, which is now centered by its parent 'main' */
.form-container-wrapper {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #fdbe33;
    padding-bottom: 20px;
}

.form-header h2 {
    color: #030f27;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-header p {
    color: #6c757d;
    margin: 0;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    color: #030f27;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.row {
    display: flex;
    gap: 20px;
}
.form-group.row .col {
    flex: 1;
}

label {
    display: block;
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select,
input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.radio-group label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 400;
    cursor: pointer;
}
.radio-group input[type="radio"] {
    width: auto;
    margin-right: 10px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #4a90e2;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #357abd;
}

.btn-pay {
    width: 100%;
    padding: 15px;
    background-color: #4a90e2;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-pay:hover {
    background-color: #357abd;
}

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .form-container-wrapper {
        padding: 20px;
    }
    .form-group.row {
        flex-direction: column;
        gap: 0;
    }
}/*
 * Azentrix Job Application Form Stylesheet
 */

/* --- Main Container & Header --- */
.form-container-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-weight: 700;
    color: #030f27;
}

.form-header p {
    color: #666;
    font-size: 1.1em;
}

/* --- Form Sections & Groups --- */
.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: #030f27;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
}

.job-application-form input[type="text"],
.job-application-form input[type="email"],
.job-application-form input[type="tel"],
.job-application-form input[type="number"],
.job-application-form input[type="file"],
.job-application-form textarea,
.job-application-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.job-application-form input:focus,
.job-application-form textarea:focus,
.job-application-form select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.job-application-form textarea {
    resize: vertical;
}

/* --- Phone Input Group --- */
.phone-input-group {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between dropdown and input */
}

.phone-input-group select {
    flex: 0 0 120px; /* Fixed width for the country code dropdown */
}

.phone-input-group input {
    flex-grow: 1; /* Input field takes the remaining space */
}

/* --- Submit Button --- */
.submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: #fdbe33;
    color: #030f27;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #e4a91a;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}