.onos-web-form-container {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.onos-web-form {
    width: 100%;
    box-sizing: border-box;
}

.onos-contact-header {
    margin-bottom: 30px;
}

.onos-contact-header h2 {
    font-size: 24px;
    color: #1a1e3d;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.onos-contact-header p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

.onos-web-form .onos-form-group {
    margin-bottom: 20px;
}

.onos-web-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.onos-web-form input[type="text"],
.onos-web-form input[type="email"],
.onos-web-form input[type="tel"],
.onos-web-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    background-color: #f8fafd;
    font-size: 15px;
    transition: border-color 0.3s, background-color 0.3s;
}

.onos-web-form input:focus,
.onos-web-form textarea:focus {
    outline: none;
    border-color: #007bff;
    background-color: #fff;
}

.onos-web-form textarea {
    height: 120px;
    resize: vertical;
}

/* File Upload Style */
.file-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.file-input-wrapper .file-btn {
    padding: 10px 20px;
    border: 2px solid #000;
    border-radius: 8px;
    background: #fff;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    width: auto;
}

.file-input-wrapper .file-btn:hover {
    background: #f0f0f0;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 130px;
    height: 100%;
    cursor: pointer;
}

.file-input-wrapper .file-name {
    font-size: 14px;
    color: #666;
}

/* Deadline Text */
.onos-deadline-text {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* reCAPTCHA Placeholder */
.onos-recaptcha {
    margin-bottom: 25px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    display: block;
    border-radius: 4px;
}

.g-recaptcha-placeholder {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.g-recaptcha-placeholder input {
    width: 20px;
    height: 20px;
}

/* Submit Button */
.onos-submit-btn {
    width: auto;
    min-width: 180px;
    padding: 15px 30px;
    background-color: #1a1e3d;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.3s;
}

.onos-submit-btn:hover {
    background-color: #2a2f5d;
}

.onos-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Status Messages */
.onos-form-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    display: none;
    font-size: 14px;
}

.onos-form-message.success {
    display: block;
    background-color: transparent;
    color: #1a1e3d;
    border: none;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    padding: 40px 20px;
    line-height: 1.4;
}

.onos-form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .file-input-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .file-input-wrapper .file-btn {
        width: 100%;
        text-align: center;
    }

    .onos-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
        max-width: 100%;
        overflow: hidden;
    }
}

/* Multi-Step Wizard Styling */
.onos-steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 25px;
    z-index: 1;
}

.onos-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
}

.onos-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e1e8ed;
    color: #556080;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #e1e8ed;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.onos-step-title {
    font-size: 12px;
    font-weight: 600;
    color: #8798ad;
    margin-top: 8px;
    transition: color 0.3s;
}

/* Active & Completed States */
.onos-step.active .onos-step-circle {
    background-color: #1a1e3d;
    color: #fff;
    box-shadow: 0 0 0 2px #1a1e3d;
    transform: scale(1.15);
}

.onos-step.active .onos-step-title {
    color: #1a1e3d;
    font-weight: 700;
}

.onos-step.completed .onos-step-circle {
    background-color: #28a745;
    color: #fff;
    box-shadow: 0 0 0 2px #28a745;
}

.onos-step.completed .onos-step-title {
    color: #28a745;
}

/* Progress Lines */
.onos-steps-progress {
    height: 4px;
    background-color: #e1e8ed;
    position: relative;
    top: -46px;
    margin-bottom: -20px;
    margin-left: calc(10% - 18px);
    margin-right: calc(10% - 18px);
    border-radius: 2px;
    z-index: 0;
}

.onos-steps-progress-bar {
    height: 100%;
    background-color: #1a1e3d;
    width: 0%;
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form Steps content */
.onos-form-step-content {
    display: none;
    animation: onosFadeIn 0.4s ease-out;
}

.onos-form-step-content.active {
    display: block;
}

@keyframes onosFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Headings */
.onos-section-title {
    font-size: 18px;
    color: #1a1e3d;
    margin: 30px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f3f8;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.onos-subsection {
    background-color: #fcfdfe;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.onos-subsection-title {
    font-size: 14px;
    color: #1a1e3d;
    margin: 0 0 20px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 3px solid #1a1e3d;
    padding-left: 10px;
}

.onos-step-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Grid Layout system */
.onos-form-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.onos-form-row .onos-form-group {
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

.onos-col-3 {
    width: 25%;
}

.onos-col-4 {
    width: 33.333%;
}

.onos-col-6 {
    width: 50%;
}

@media (max-width: 768px) {
    .onos-col-3,
    .onos-col-4,
    .onos-col-6 {
        width: 100%;
    }
    .onos-steps-progress {
        display: none;
    }
    .onos-steps-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    .onos-step {
        flex: auto;
        min-width: 60px;
    }
    .onos-step-title {
        display: none;
    }
}

/* Dropdown styling */
.onos-web-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    background-color: #f8fafd;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    transition: border-color 0.3s, background-color 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23556080' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    cursor: pointer;
}

.onos-web-form select:focus {
    outline: none;
    border-color: #007bff;
    background-color: #fff;
}

/* Radio & Checkbox buttons custom styled */
.onos-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
    margin-bottom: 15px;
}

.onos-radio-group.onos-flex-row {
    flex-direction: row;
}

.onos-radio-label, .onos-checkbox-label {
    display: flex !important;
    align-items: center !important;
    font-weight: 500 !important;
    cursor: pointer;
    font-size: 14px;
    color: #4a5568 !important;
    margin-bottom: 0 !important;
    user-select: none;
    background: #f8fafd;
    border: 1px solid #e1e8ed;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.onos-radio-label input[type="radio"], 
.onos-checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-bottom: 0;
    width: 18px;
    height: 18px;
    accent-color: #1a1e3d;
    cursor: pointer;
}

.onos-radio-label:hover, .onos-checkbox-label:hover {
    background-color: #edf2f7;
    border-color: #cbd5e0;
}

.onos-radio-label:has(input:checked), .onos-checkbox-label:has(input:checked) {
    background-color: #ebf8ff;
    border-color: #3182ce;
    color: #2b6cb0 !important;
    font-weight: 600 !important;
}

/* Declaration Box */
.onos-declaration-box {
    background-color: #f7fafc;
    border-left: 4px solid #1a1e3d;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.onos-declaration-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
}

/* Admissions Info Box */
.onos-admissions-info-text {
    background-color: #fffaf0;
    border: 1px solid #feebc8;
    color: #c05621;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Button Actions */
.onos-step-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
}

.onos-prev-btn {
    padding: 12px 25px;
    background-color: #edf2f7;
    color: #4a5568;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    width: auto;
}

.onos-prev-btn:hover {
    background-color: #e2e8f0;
    color: #2d3748;
}

.onos-next-btn {
    padding: 12px 30px;
    background-color: #1a1e3d;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-left: auto;
    transition: all 0.3s;
    white-space: nowrap;
    width: auto;
}

.onos-next-btn:hover {
    background-color: #2a2f5d;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(26, 30, 61, 0.15);
}

.onos-web-form input[readonly] {
    background-color: #eef2f7;
    color: #555;
    cursor: not-allowed;
}

/* File Upload Field Aesthetics */
.file-upload-group {
    position: relative;
}

.file-input-wrapper {
    width: 100%;
}

/* --- CAREER JOB CARD --- */
.onos-job-card {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.onos-job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #1a1e3d;
}

.onos-job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.onos-job-header-left {
    flex: 1;
}

.onos-job-header-right {
    flex-shrink: 0;
}

.onos-job-header-right .onos-career-apply-btn {
    width: auto;
    padding: 12px 24px;
    font-size: 14px;
    white-space: nowrap;
    text-transform: uppercase;
}

.onos-job-title {
    font-size: 22px;
    color: #1a1e3d;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.onos-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.onos-job-meta-item {
    display: inline-flex;
    align-items: center;
    background: #f0f4f8;
    color: #556080;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

.onos-meta-svg {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    color: #556080;
}

.onos-job-description {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 25px;
}

.onos-job-description ul {
    margin: 10px 0;
    padding-left: 20px;
}

.onos-job-description li {
    margin-bottom: 6px;
}

/* --- POPUP MODAL --- */
body.onos-modal-open {
    overflow: hidden !important;
}

.onos-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.onos-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 30, 61, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.onos-modal-container {
    position: relative;
    background: #ffffff;
    width: 90%;
    max-width: 780px;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    z-index: 10;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: onosModalScaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes onosModalScaleUp {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.onos-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #f0f3f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.onos-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1e3d;
    margin: 0;
}

.onos-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    font-weight: 500;
    color: #8798ad;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin: 0;
    transition: color 0.2s;
}

.onos-modal-close:hover {
    color: #1a1e3d;
}

.onos-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    background: #ffffff;
}

/* Custom Scrollbar for Modal Body */
.onos-modal-body::-webkit-scrollbar {
    width: 6px;
}

.onos-modal-body::-webkit-scrollbar-track {
    background: #f8fafd;
}

.onos-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.onos-modal-body::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* 4-Step Wizard Alignment */
.onos-steps-progress.onos-steps-4 {
    margin-left: calc(12.5% - 18px) !important;
    margin-right: calc(12.5% - 18px) !important;
}

@media (max-width: 768px) {
    .onos-modal-container {
        width: 95%;
        max-height: 90vh;
    }
    .onos-modal-body {
        padding: 20px;
    }
    .onos-job-card {
        padding: 20px;
    }
    .onos-job-title {
        font-size: 19px;
    }
    .onos-job-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .onos-job-header-right .onos-career-apply-btn {
        width: 100%;
        text-align: center;
    }
    .onos-form-message.success {
        font-size: 22px;
        padding: 30px 10px;
    }
}

