/* Base Styles */
body.otr-body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* Icon Styles */
.fa-asterisk {
    color: red;
    font-size: 10px;
    margin-left: 3px;
    vertical-align: super;
}

.otr-form-label.required:after {
    content: " *";
    color: red;
    font-size: 14px;
}

/* Step Indicator Styles */
.otr-step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    position: relative;
}

.otr-step-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #f1f2f4;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    z-index: 2;
}

.otr-step-circle.active {
    background-color: #354252;
    color: #fff;
}

.otr-step-line {
    height: 2px;
    background-color: #e0e0e0;
    width: 20%; /* Change this value as per your need */
    margin: 0 10px;
    z-index: 1;
}

/* Main Container */
.otr-container {
    max-width: 1300px;
    margin: 30px auto;
    background-color: #f1f2f4;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

/* Heading Styles */
.otr-main-heading {
    text-align: center;
    color: #000;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 600;
}

/* Section Styles */
.otr-section {
    margin-bottom: 25px;
    background-color: #f1f2f4;
    border-radius: 6px;
    overflow: hidden;
}

.otr-section-heading {
    background-color: #354252;
    color: #fff;
    padding: 15px 20px;
    margin: 0;
    font-size: 18px;
}

/* Form Group Styles */
.otr-form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.otr-form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    margin-top: 16px;
}

.otr-form-input,
.otr-form-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.otr-form-group-full {
    grid-column: 1 / -1;
}

/* Warning Text */
.otr-warning-text {
    display: block;
    margin-bottom: 15px;
    margin-top: 10px;
    color: #c00;
    font-size: 16px;
}

/* Button Styles */
.otr-next-button {
    display: block;
    width: 110px;
    background-color: #ffcc00;
    color: #000;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 20px auto 0;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.otr-next-button:hover {
    background-color: #e6b800;
}

/* Utility Classes */
.otr-hidden {
    display: none;
}

.otr-section-heading {
    background-color: #354252;
    color: #fff;
    padding: 15px 20px;
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.otr-section-heading i {
    font-size: 16px;
}

.otr-sub-heading {
    color: #354252;
    font-size: 16px;
    margin: 15px 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

/* Form Group Styles */
.otr-form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    /* padding: 20px; */
}

.otr-form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.otr-form-input,
.otr-form-select,
.otr-form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.otr-form-input:focus,
.otr-form-select:focus {
    outline: none;
    border-color: #354252;
    box-shadow: 0 0 0 2px rgba(53, 66, 82, 0.1);
}

.otr-form-group-full {
    grid-column: 1 / -1;
}

/* Radio Button Styles */
.otr-radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.otr-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Button Styles */
.otr-next-button {
    display: block;
    width: 180px;
    background-color: #ffcc00;
    color: #000;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 30px auto 0;
    border-radius: 6px;
    transition: background-color 0.3s;
    text-align: center;
}

.otr-next-button:hover {
    background-color: #e6b800;
}

.otr-add-button {
    background-color: #f8f9fa;
    border: 2px dashed #ddd;
    color: #354252;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.otr-add-button:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.otr-remove-button {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.otr-remove-button:hover {
    text-decoration: underline;
}

/* Employment Section Specific Styles */
.employment-record {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.employment-record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.date-range-group {
    display: flex;
    gap: 20px;
}

.date-input {
    flex: 1;
}

.date-fields {
    display: flex;
    gap: 10px;
}

.date-fields .otr-form-select {
    flex: 1;
    min-width: 120px;
}

.date-fields .year-input {
    width: 80px;
}

.otr-form-textarea {
    min-height: 80px;
    resize: vertical;
}

/* Education Level Radio Buttons */
.education-level-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.education-level-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.education-level-option:hover {
    border-color: #354252;
}

.education-level-option input[type="radio"] {
    margin: 0;
}

/* Utility Classes */
.otr-hidden {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .otr-form-group {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .education-level-options {
        grid-template-columns: 1fr;
    }

    .otr-step-circle {
        width: 80px;
        height: 80px;
        font-size: 12px;
    }

    .otr-step-line {
        width: 50px;
    }

    .date-range-group {
        flex-direction: column;
        gap: 15px;
    }

    .date-fields {
        flex-direction: column;
    }

    .date-fields .year-input {
        width: 100%;
    }
}

.upload-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.upload-item {
    margin-bottom: 20px;
}

.upload-box {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.upload-box:hover {
    border-color: #354252;
    background-color: #f8f9fa;
}

.upload-box i {
    font-size: 36px;
    color: #354252;
    margin-bottom: 10px;
}

.upload-box small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.file-input {
    display: none;
}

.preview-image {
    max-width: 100%;
    max-height: 120px;
    margin-top: 10px;
    display: none;
}

.instructions-box {
    background-color: #f8f9fa;
    border-left: 4px solid #354252;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.instructions-box h5 {
    color: #354252;
    margin-top: 0;
    margin-bottom: 10px;
}

.instructions-box ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.instructions-box li {
    margin-bottom: 5px;
    font-size: 14px;
}

.declaration-box {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.declaration-box h5 {
    color: #354252;
    margin-top: 0;
}

.declaration-text {
    max-height: 150px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding-right: 10px;
}

.declaration-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Test City Preferences */
.test-city-preferences {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.test-city-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.test-city-number {
    background-color: #354252;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Login Page Styles */
.login-container {
    padding: 2rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.login-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid #e0e0e0;
}

.login-heading {
    color: #2c3e50;
    font-weight: 600;
}

.login-btn {
    padding: 10px;
    font-weight: 500;
    border-radius: 5px;
}

.captcha-code {
    font-family: "Courier New", monospace;
    font-weight: bold;
    letter-spacing: 2px;
    min-width: 100px;
    user-select: none;
}

.required:after {
    content: " *";
    color: red;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-card {
        padding: 1.5rem;
    }
}
