/* === GLOBAL STYLES === */
:root {
    --primary-color: #008acf;
    --secondary-color: #0056b3;
    --light-gray: #f8f9fa;
    --medium-gray: #dee2e6;
    --dark-gray: #495057;
    --success-color: #34a853;
    --danger-color: #dc3545;
    --border-radius: 8px;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
/* In JobApplication.css */
/* Add this entire block to your CSS file */

input:-webkit-autofill,
select:-webkit-autofill,
textarea:-webkit-autofill,
input:-webkit-autofill:hover,
select:-webkit-autofill:hover,
textarea:-webkit-autofill:hover,
input:-webkit-autofill:focus,
select:-webkit-autofill:focus,
textarea:-webkit-autofill:focus,
input:-webkit-autofill:active,
select:-webkit-autofill:active,
textarea:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    box-shadow: 0 0 0 30px white inset !important;
}

/* === FORM CONTAINER === */
/* ... rest of your CSS */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    color: #008acf;
}
.container {
    width: 94%;
    margin: 20px 3%;
    background-color: #f8f9fa;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid #908e8e;
}
.header {
    background: linear-gradient(90deg, #005B96, #0099DE);
    color: white;
    padding: 30px 30px;
}
.header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}
.header p {
    margin: 6px 0 0;
    opacity: 0.9;
}
.header h2 {
    margin: 10px 0px 0;
    font-size: 18px;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 15px 15px;
}

/* === Custom Tick Icon (styled like design) === */
/* === Custom Tick Icon (perfectly centered inside circle) === */
/* === Custom Tick Icon (perfectly centered and visually balanced) === */
/* === Custom Tick Icon perfectly centered inside wizard circle === */
.custom-tick {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background-color: var(--success-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease;
}

.custom-tick::before {
    content: '';
    width: 20px;
    height: 40px;
    border-right: 7px solid #fff;
    border-bottom: 7px solid #fff;
    transform: rotate(45deg);
}

/* When step is completed, show the tick */
.wizard-step.completed .custom-tick {
    opacity: 1;
}
.wizard-step.completed .original-icon {
    opacity: 0;
}

/* Adjust tick inside the success message */
.success-icon .custom-tick {
    position: relative;
    width: 80px;
    height: 80px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.success-icon .custom-tick::before {
    content: '';
    width: 24px;
    height: 40px;
    border-right: 5px solid #fff;
    border-bottom: 5px solid #fff;
    transform: rotate(45deg);
}




.wizard {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 50px;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}
.wizard::before {
    content: '';
    position: absolute;
    top: 20px; /* Moves the line down into the visible padded area */
    left: 45px;
    right: 45px;
    height: 1px;
    background-color: #a6a6a6;
}
/* This creates the bottom line */
.wizard::after {
    content: '';
    position: absolute;
    bottom: 20px; /* Moves the line up into the visible padded area */
    left: 45px;
    right: 45px;
    height: 1px;
    background-color: #a6a6a6;
}
/* This ensures the top line ONLY appears on screens 769px or wider */

.wizard-steps-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: transform 0.4s ease-in-out;
    position: relative;
    gap: 90px;
    width: 100%;
}
.wizard-step span {white-space: nowrap;}
.wizard-step .icon img {
    width: 45px;
    height: px;
    object-fit: cover;
}
.wizard-nav-arrow img {
    width: 80px;
    height: 80px;
}
.wizard-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: monospace;
    font-weight: bold;
    font-size: 40px;
    color: var(--dark-gray);
    cursor: pointer;
    /* z-index: 10; */
    user-select: none;
}
.wizard-nav-arrow:hover {color: var(--primary-color);}
.wizard-nav-arrow.left {left: 20px;}
.wizard-nav-arrow.right {right: 20px;}
.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 18px;
    /* Fixed width for each step */
    width: 270px;
    flex-shrink: 0;
}
.wizard-step .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--dark-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    border: 2px solid var(--medium-gray);
    /* z-index: 2; */
    position: relative;
    overflow: hidden;
}
.wizard-step .icon i {
    transition: transform 0.3s ease;
    position: absolute;
    font-size: 50px;
}
.wizard-step .completed-icon {transform: translateY(60px);}
.wizard-step.active .icon {border-color: var(--primary-color);}
.wizard-step.active {color: var(--primary-color);}
.wizard-step.completed .icon {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: white;
}
.wizard-step.completed {color: var(--primary-color);}
.wizard-step.completed .original-icon {transform: translateY(-60px);}
.wizard-step.completed .completed-icon {transform: translateY(0);}
.wizard-step .icon .original-icon {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
    /* Smooth transition */
}
/* Make the text label a muted gray color */
.wizard-step span {color: #888;font-weight: 500;transition: color 0.3s ease, font-weight 0.3s ease;}
.wizard-step.active .icon .original-icon {filter: grayscale(0%);opacity: 1;}
.wizard-step.active span {color: var(--primary-color);font-weight: 700;}
.wizard-step.completed span { color: var(--primary-color); font-weight: 700;}
.wizard-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: monospace;
    font-weight: bold;
    font-size: 40px;
    user-select: none;
    transition: color 0.3s ease;
    color: #cccccc;
    cursor: default;
}
/* NEW: Active state makes the arrow BLUE */
.wizard-nav-arrow.active-arrow {color: var(--primary-color);cursor: pointer;}
/* Hover effect ONLY for the ACTIVE blue arrow */
.wizard-nav-arrow.active-arrow:hover {color: var(--secondary-color);}
/* Positioning remains the same */
.wizard-nav-arrow.left {left: 20px;}
.wizard-nav-arrow.right {right: 20px;}
.wizard-nav-arrow img {
    /* This filter converts a black image to grey (#cccccc) */
    filter: invert(85%) sepia(0%) saturate(22%) hue-rotate(152deg) brightness(95%) contrast(92%);
}
/* ACTIVE state makes the image BLUE */
.wizard-nav-arrow.active-arrow img {
    /* This filter converts a black image to your blue color (#008acf) */
    filter: invert(48%) sepia(61%) saturate(2500%) hue-rotate(175deg) brightness(95%) contrast(101%);
    cursor: pointer;
}
.wizard-nav-arrow.active-arrow:hover img {
    filter: invert(25%) sepia(98%) saturate(1500%) hue-rotate(185deg) brightness(90%) contrast(101%);
}

/* === FORM CONTAINER === */
.form-container { padding: 40px;}
.form-step {display: none;}
.form-step.active {display: block;animation: fadeIn 0.5s ease-in-out;}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}





#step-1 .form-group:first-child {
    flex: 0 0 48% !important;
    max-width: 48% !important;
}
#step-1 .form-group:first-child .select-wrapper {
    width: 100% !important;
}
.form-group {
    margin-bottom: 30px;
}
.form-group.form-group-50 {
    flex: 0 0 48%;
}
.form-group label,fieldset legend {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--dark-gray);
}

/* inputs & selects */
.input-field,
.select-field {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #908e8e;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color .18s, box-shadow .18s;
    background: #fff;
    height: 48px;
    line-height: 20px;
    box-sizing: border-box;
    
}

.select-wrapper {
    position: relative;
    display: block;
    width: 100%;
}
/* arrow icon inside select */
.select-wrapper .select-field {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 4px;
}
.select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1px;
    transform: translateY(-50%); /* Position from the right edge */
    width: 80px;  /* The width of your arrow image */
    height: 80px;
    background-image: url('/images/dropdown arrow-01.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}
.input-field:focus,
.select-wrapper .select-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 115, 194, 0.2);
    
}
.input-field.highlight,
.select-wrapper .select-field.highlight {
    border-color: var(--primary-color);
}

.input-field.error {
    border-color: var(--danger-color);
}

.input-field.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

textarea.input-field {
    resize: vertical;
    min-height: 200px;
}

.row {
    display: flex;
    gap: 35px;
}

.row .form-group {
    flex: 1;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-group input {
    margin-right: 10px;
}

fieldset {
    border: 2px solid #908e8e;
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 30px;
}
.btn-add-lang {
    background: linear-gradient(90deg, #005B96, #0099DE);
    border: 1px solid var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s, color 0.3s;
    font-size: 24px;
}

.btn-add-lang:hover {
    background-color: var(--primary-color);
    color: white;
}

.language-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 25px;
}

.language-half {flex: 1 1 48%}
/* .checkbox-label {
    display: flex;
    align-items: center;
    padding: 8px 5px;
    border: 2px solid #908e8e;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    background-color: #fff;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    position: relative;
} */
input[type="checkbox"] {
    display: none;
}
/* Custom Checkbox */
/* .custom-checkbox {
    width: 28px;
    height: 28px;
    border: 2px solid #aaa;
    border-radius: 4px;
    margin-right: 10px;
    background-color: #fff;
    box-sizing: border-box;
    position: relative;
    flex-shrink: 0;
}

input[type="checkbox"]:checked+label .custom-checkbox {
    background-color: #008acf;
    border-color: #008acf;
}

input[type="checkbox"]:checked+label .custom-checkbox::after {
    content: '✓';
    color: white;
    font-size: 25px;
    font-weight: bold;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

input[type="checkbox"]:checked+label {
    border-color: #008acf;
    background-color: #e6f3fc;
    color: #008acf;
} */


/* === NEW BROWSER-DEFAULT CHECKBOX STYLING === */

/* This is the main container (e.g., the box around "English") */
.checkbox-label,
.checkbox-group > .checkbox-label {
    display: flex;
    align-items: center;
    /* padding: 8px 12px; */
    border: 2px solid #908e8e;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    background-color: #fff;
    transition: border-color 0.3s ease, color 0.3s ease;
    width: 100%;
    position: relative;
    font-size: 16px; /* Standardize font size */
    color: var(--dark-gray);
}

/* Make the actual checkbox visible and style it */
/* Replace with this rule */
.checkbox-label input[type="checkbox"] {
    display: block;
    width: 35px; /* Increased from 22px */
    height: 35px; /* Increased from 22px */
    margin-right: 14px; /* Increased for better spacing */
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--primary-color);
}
/* This class will be added by JavaScript to style the checked container */
.checkbox-label.is-checked {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Styling for the "Same as Permanent Address" heading */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 25px; /* Adds space before the next section */
}

.checkbox-group label {
    font-weight: 700;
    color: var(--dark-gray); /* Uses the same color as other labels */
    font-size: 16px;
    cursor: pointer;
    margin: 0;
}

.checkbox-group input[type="checkbox"] {
    display: block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    accent-color: var(--primary-color);
    cursor: pointer;
}




/* Input & Select Fields */
.select-field {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #908e8e;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: #fff;
}
.select-field:focus {
    outline: none;
    border-color: #008acf;
    background-color: #f9f9ff;
}
.section-label {
    display: block;
    font-weight: 600;
    /* margin: 20px 0 10px; */
    font-size: 18px;
    color: var(--dark-gray);
}

/* === BUTTONS === */
.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    border-top: 0px solid #eee;
    padding-top: 20px;
}

.button-group.right-align {
    justify-content: flex-end;
}

/* <button type="button" class="btn-remove-lang" title="Remove language">&times;</button> */
.btn {
    padding: 8px 10px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s, transform 0.1s;
}

.btn-primary {
    background: linear-gradient(90deg, #005B96, #0099DE);
    color: white;
}


.btn-secondary {
    background: linear-gradient(90deg, #005B96, #0099DE);
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn:active {
    transform: scale(0.98);
}

/* === TOOLTIP & FILE UPLOAD & REVIEW & SUCCESS === */
.tooltip-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #008acf;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    cursor: help;
    position: relative;
}

.tooltip-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    width: 250px;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    /* z-index: 10; */
}

.tooltip-icon:hover::after {
    opacity: 1;
    visibility: visible;
}

.hidden {
    display: none;
}

.file-upload-area {
    border: 2px dashed #666666;
    border-radius: var(--border-radius);
    padding: 2px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
    border-color: #666666;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: #008acf;
    background-color: #f8f9fa;
}

.file-upload-area .icon {
    font-size: 30px;
    color: #008acf;
    /* margin-bottom: 15px; */
}

#file-name-display {
    margin-top: 30px;
    font-weight: bold;
    color: #008acf;
}

/* --- Styling for the file upload text --- */
/* Targets the main paragraph text */
.file-upload-area p {
    font-size: 16px;
    color: #6c757d;
    margin: 0;
}

.file-upload-area p strong {
    color: #008acf;
    font-weight: 700;
}

.file-upload-area small {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}
/* --- Main Section Wrapper --- */
#review-content .review-section {
    margin-bottom: 5px;
    padding-bottom: 5px;
    /* border-bottom: 1px solid #e0e0e0; */
}

#review-content .review-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

#review-content .review-section h4 {
    color: var(--primary-color, #007bff); /* Fallback color */
    margin-top: 0; /* THIS IS THE FIX: The margin was too large before */
    margin-bottom: 1rem;   /* REDUCED from 1.5rem to fix the large gap */
    font-size: 1.25rem;  /* 20px */
    font-weight: 700;
    padding-bottom: 0.5rem;/* border-bottom: 1px solid #e0e0e0; */
}

/* --- Grid System for Multi-Column Layout --- */
#review-content .review-row {
    display: flex;
    flex-wrap: wrap;
    /* gap: 30px;  */
}
#review-content .review-col {
    flex: 1;
    /* Each column takes equal space */
    min-width: 250px;
    /* Prevents columns from getting too squished */
}
#review-content .review-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1rem;
    /* 16px */
    line-height: 1.5;
}

#review-content .review-item strong {
    /* flex: 0 0 180px;  */
    color: #333;
    font-weight: 600;
    padding-right: 2px;
}

#review-content .review-item span,
#review-content .review-item div {
    /* Allow divs for complex content */
    color: #555;
    word-break: break-word;
    flex: 1;
}
/* Style 2: Stacked Modifier (for Address, Reasons, etc.) */
#review-content .review-item.stacked {
    flex-direction: column;
    align-items: flex-start;
}

#review-content .review-item.stacked strong {
    flex-basis: auto;
    margin-bottom: 0.5rem;
}

/* --- This is the key part for City/State/Pincode --- */
#review-content .review-sub-items {
    display: flex;
    /* This is what aligns the items in a row */
    flex-wrap: wrap;
    /* Allows items to wrap on small screens */
    /* gap: 1.5rem;           */
    /* margin-top: 0.75rem;    */
}

#review-content .review-sub-items strong {
    font-weight: 600;
    color: #333;
    padding-right: 2px;
    
}

/* --- Special Styling for "Languages Known" Grid --- */
#review-content .review-languages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 400px;
    border: 1px solid #a6a6a6;
    border-radius: 4px;
    overflow: hidden;
}

#review-content .review-languages-grid div {
    padding: 12px 35px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #a6a6a6;
    border-right: 1px solid #a6a6a6;
}

#review-content .review-languages-grid div:nth-child(2n) {
    border-right: none;
}

#review-content .review-languages-grid div:nth-last-child(-n+2) {
    border-bottom: none;
}

#review-content .review-languages-grid .lang-header {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #495057;
}

/* --- Responsive Styles (for screens smaller than 768px) --- */
@media (max-width: 768px) {
    #review-content .review-row {flex-direction: column;gap: 0;}
    /* Stack ALL items, including the side-by-side ones */
    #review-content .review-item {flex-direction: column; align-items: flex-start;}
    #review-content .review-item strong {flex-basis: auto;margin-bottom: 0.5rem;}
    /* This new rule stacks the City, State, and Pincode on mobile */
    #review-content .review-sub-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        
    }
    /* Add this inside your @media (max-width: 768px) block */

#step-6 .form-group {
    width: 100%;
    flex: 0 0 100%; /* Ensures it takes full width if flexbox is used */
}
}

.success-container {
    text-align: center;
    padding: 50px 20px;
}

.success-icon {
    font-size: 80px;
    color: var(--success-color);
    margin-bottom: 20px;
}

.success-container h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.success-container p {
    font-size: 16px;
    color: #555;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* .input-field.error,
.select-field.error {
    border-color: #dc3545;
    border-width: 2px;
} */
.input-field.error:focus,
.select-field.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}
/* Add this to the section with other input-field styles */
.input-field::placeholder,
textarea.input-field::placeholder {
    color: #a9a9a9; /* A standard, neutral placeholder color */
    opacity: 1; /* Firefox requires this for color to show */
}
/* .error-message {
    color: rgb(255, 255, 255);
    background-color: #F8453B !important;
    font-size: 16px;
    text-align: center;
    border-radius: 0dvw 0dvw 0.8dvw 0.8dvw;
   
} */
/* === FORM ERROR STYLING (Bitsware style) === */
.input-field.error,
.select-field.error {
    border: 2px solid #F8453B !important;
    background-color: #fff !important;
}

.error-message {
    color: #fff !important;
    background-color: #F8453B !important;
    font-size: 16px !important;
    font-weight: 500;
    text-align: center;
    border-radius: 0 0 8px 8px !important;
    padding: 4px 0;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* For mobile view responsiveness */
@media (max-width: 600px) {
    .error-message {
        font-size: 14px !important;
        border-radius: 0 0 6px 6px !important;
    }
}

/* 
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
} */


/* --- Tablet View (Medium Screens) --- */
@media (max-width: 768px) {
    .header-p,.header{text-align: center;}
    .wizard-steps-container {gap: 50px;}
    .wizard-nav-arrow img {width: 60px;height: 60px;} 
    .form-container {padding: 20px;}
    .row {flex-direction: column;gap: 0;}
    .row .form-group {margin-bottom: 20px;}
    .stlQuickContactIcons {width: 100%;}
    .select-field {font-size: 14px; }
}
/* --- Mobile View (Small Screens) --- */
@media (max-width: 600px) {
    /* Make job role select always 100% width */
    #job-role,
    #job-role.select-field,
    #step-1 .form-group:first-child {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    /* Add this inside your @media (max-width: 768px) block */

  #step-6 .form-group:first-child {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
      #step-3 .form-group:first-child {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    #step-1 .form-group:first-child .select-wrapper {
        width: 100% !important;
    }


    .select-wrapper {position: relative;display: block;width: 100%;}
    #step-2 .form-group[style] {width: 100% !important; }
    /* .form-group label {width: 200%;} */
    .select-wrapper .select-field {-webkit-appearance: none;-moz-appearance: none;appearance: none;width: 100%;padding-right: 40px !important;}
    .select-wrapper::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 1px;
        transform: translateY(-50%);
        width: 80px;
        height: 80px;
        background-image: url('/images/dropdown arrow-01.png');
        background-size: contain;
        background-position: center;
        /* Center the image */
        background-repeat: no-repeat;
        pointer-events: none;
    }
    label[for="job-role"] {white-space: nowrap;}
    
    /* .wizard {padding: 15px 50px;position: relative;}
    .wizard-nav-arrow {font-size: 30px;}
    .wizard-nav-arrow.left {left: 10px;}
    .wizard-nav-arrow.right {right: 10px;}
    .wizard-steps-container {justify-content: center;gap: 20px;}
    .wizard-step {display:none;width: auto;}


    .wizard-step.active,
    .wizard-step.last-completed {display: flex;}
    .wizard-step span {font-size: 14px;}
    .wizard-step .icon {width: 60px;height: 60px;}
    .wizard-step .icon img {width: 32px;height: 32px;}*/
    .form-container {padding: 20px 15px;}  
    .language-row {flex-direction: column;gap: 15px;}
    .button-group {flex-direction: column-reverse;gap: 15px;}
    .btn {width: 100%;padding: 14px;font-size: 18px;}
    .stlQuickContactIcons {width: 100%;}
    }
/* --- Mobile View (Small Screens) --- */
@media (max-width: 600px) {
    
    .wizard {
        padding: 25px;
        overflow: hidden;
        position: relative;
    }
     /* .wizard-step.last-completed {display: flex;} */
    .wizard-steps-container {
        display: flex;
        flex-wrap: nowrap;
        gap: 1px;
        transition: transform 0.4s ease-in-out;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    width: 100%;
    }

    .wizard-step {
        flex: 0 0 50%; 
        max-width: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 14px;
    }
   .wizard-step .icon { 
        width: 60px;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background: #f1f1f1;
    }

   .wizard-step .icon img {
    width: 35px;object-fit: cover;}
    .wizard-nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        /* z-index: 2; */
        cursor: pointer;
    }
    .wizard::before {
    content: '';
    position: absolute;
    top: 10px; /* Moves the line down into the visible padded area */

}
/* This creates the bottom line */
.wizard::after {
    content: '';
    position: absolute;
    bottom: 0; /* Moves the line up into the visible padded area */
 
}
    .wizard-nav-arrow.left { left: 2px; }
    .wizard-nav-arrow.right { right: 2px; }
}
@media (max-width: 768px) {
    .wizard {
        overflow-x: hidden;
        padding: 20px 40px;
    }
    .wizard-steps-container {
        transition: transform 0.4s ease-in-out;
        will-change: transform;
    }
    .wizard-step {
        width: 200px; /* slightly narrower to fit icons */
    }
    .wizard-nav-arrow.left,
    .wizard-nav-arrow.right {
        width: 50px;
        height: 50px;
        z-index: 5;
    }
}
