* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.main-container {
    display: flex;
    min-height: 100vh;
    flex-direction: row;
    position: relative;
}

.left-side {
    width: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.animated-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"><animate attributeName="cx" values="200;800;200" dur="20s" repeatCount="indefinite"/><animate attributeName="cy" values="200;600;200" dur="15s" repeatCount="indefinite"/></circle><circle cx="800" cy="800" r="150" fill="url(%23a)"><animate attributeName="cx" values="800;200;800" dur="25s" repeatCount="indefinite"/><animate attributeName="cy" values="800;300;800" dur="18s" repeatCount="indefinite"/></circle><circle cx="500" cy="100" r="80" fill="url(%23a)"><animate attributeName="cx" values="500;300;500" dur="22s" repeatCount="indefinite"/><animate attributeName="cy" values="100;700;100" dur="20s" repeatCount="indefinite"/></circle></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

.left-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 40px;
    animation: fadeInUp 1s ease-out;
}

.left-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: slideInLeft 1s ease-out;
}

.left-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 30px;
    animation: slideInRight 1s ease-out 0.3s both;
}

.feature-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.feature-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: bounceIn 1s ease-out;
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.3);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

/* Right Side - Form Container */
.right-side {
    width: 50%;
    margin-left: 50%;
    background: white;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #FF8D53 transparent;
    padding: 20px 0;
}

.form-container {
    width: 100%;
    max-width: 450px;
    padding: 0px;
    min-height: 100%;
    animation: fadeInRight 1s ease-out;
}

.logo-container {
    text-align: center;
    margin-bottom: 10px;
}

.logo-container img {
    max-width: 180px;
    height: auto;
    animation: zoomIn 1s ease-out;
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.step.active {
    background: #FF8D53;
    color: white;
    animation: pulse 2s infinite;
}

.step.completed {
    background: #28a745;
    color: white;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 20px;
    height: 2px;
    background: #dee2e6;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.step.completed:not(:last-child)::after {
    background: #FF8D53;
}

.welcome-section {
    text-align: center;
    margin-bottom: 0px;
}

.welcome-section h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.welcome-section h2 {
    font-size: 1.5rem;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.welcome-section p {
    color: #000;
    font-size: 1.1rem;
}

.dream-job-text {
    background: linear-gradient(45deg, #FF8D53, #FF8D53);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Form Controls */
.form-control {
    border: 2px solid #999da1;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    border-color: #FF8D53;
    box-shadow: 0 0 0 0.2rem rgba(255, 123, 84, 0.25);
    outline: none;
}

.form-control.is-invalid {
    border-color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

.form-control.is-valid {
    border-color: #28a745;
}

/* Enhanced Select2 Styling */
.select2-container {
    width: 100% !important;
    margin-bottom: 20px;
}

.select2-container--default .select2-selection--single {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    height: 48px;
    padding: 6px 12px;
    background: white;
    transition: all 0.3s ease;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    padding-left: 0;
    color: #495057;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6c757d;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #FF8D53;
    box-shadow: 0 0 0 0.2rem rgba(255, 123, 84, 0.25);
}

.select2-dropdown {
    border: 2px solid #FF8D53;
    border-radius: 12px;
    margin-top: 4px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #FF8D53;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
    right: 10px;
}

.job-title-select .select2-container--default .select2-selection--single {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.btn-primary {
    background: linear-gradient(135deg, #FF8D53 0%, #FF8D53 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    margin: 0px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-check-input {
    width: 1.5em;
    height: 1.5em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: var(--bs-form-check-bg);
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: var(--bs-border-width) solid #FF8D53;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
    margin-right: 8px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 123, 84, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-link {
    text-align: center;
    margin-top: 20px;
}

.login-link a {
    color: #FF8D53;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-link a:hover {
    color: #FF8D53;
    text-decoration: underline;
}

.otp-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.otp-input {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid #77797b;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
}

.otp-input:focus {
    border-color: #FF8D53;
    box-shadow: 0 0 0 0.2rem rgba(255, 123, 84, 0.25);
    transform: scale(1.05);
}

.education-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.education-btn {
    padding: 12px 8px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    color: #6c757d;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.education-btn:hover, .education-btn.active {
    border-color: #FF8D53;
    background: linear-gradient(135deg, #FF8D53 0%, #FF8D53 100%);
    color: white;
    transform: translateY(-2px);
}

.gender-options {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.gender-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gender-option input[type="radio"] {
    accent-color: #FF8D53;
    position: relative;
    top: -2px;
    height: 20px;
    width: 20px;
}

.skills-container {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 20px;
    min-height: 65px;
    background: white;
    transition: all 0.3s ease;
    max-width: 100%;
}

.skills-container:focus-within {
    border-color: #FF8D53;
    box-shadow: 0 0 0 0.2rem rgba(255, 123, 84, 0.25);
}

.skill-tag {
    display: inline-block;
    background: linear-gradient(135deg, #FF8D53 0%, #FF8D53 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.9rem;
    animation: slideInUp 0.3s ease;
}

.skill-tag .remove {
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
}

.skill-tag .remove:hover {
    color: #ffcccc;
    transform: scale(1.2);
}

.hidden {
    display: none !important;
}

.checkbox-container {
    margin: 10px 0;
}

.form-check-input:checked {
    background-color: #FF8D53;
    border-color: #FF8D53;
}

.terms-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 15px 0;
}

.terms-text a {
    color: #FF8D53;
    text-decoration: none;
}

.location-suggestions, .skill-suggestions {
    border: 2px solid #FF8D53;
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    position: absolute;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.location-suggestion, .skill-suggestion {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.2s ease;
}

.location-suggestion:hover, .skill-suggestion:hover {
    background: #f8f9fa;
    color: #FF8D53;
}

.screen {
    transition: all 0.5s ease;
    opacity: 1;
}

.screen.hidden {
    opacity: 0;
    transform: translateX(20px);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        min-height: 100vh;
    }

    .left-side {
        position: fixed;
        width: 100%;
        height: 27vh; /* Fixed height for left side on mobile */
        top: 0;
        left: 0;
        z-index: 1;
    }

    .right-side {
        width: 100%;
        margin-left: 0; /* Remove offset for mobile */
        margin-top: 24vh; /* Start below fixed left side */
        min-height: calc(100vh - 40vh); /* Ensure right side takes remaining space */
        overflow-y: auto;
        padding: 15px;
    }

    .form-container {
        max-width: 100%; /* Full width on mobile */
        padding: 15px;
    }

    .left-content h1 {
        font-size: 1.6rem;
    }
.left-content p {
    font-size: 1rem;
}
.feature-icon i {
    font-size: 1.5rem;
    color: white;
}
.feature-icon {
    width: 60px;
    height: 60px;
}
.feature-icons {
    margin-top: 0px;
}
.left-content {
    padding: 28px;
}

    .education-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .otp-input {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Webkit Scrollbar for Chrome/Safari */
.right-side::-webkit-scrollbar {
    width: 8px;
}

.right-side::-webkit-scrollbar-track {
    background: transparent;
}

.right-side::-webkit-scrollbar-thumb {
    background: #FF8D53;
    border-radius: 4px;
}

.right-side::-webkit-scrollbar-thumb:hover {
    background: #e07b39;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    margin-right: 8px;
}

/* Form Labels */
label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
}

.form-control.is-invalid, .was-validated .form-control:invalid {
    padding-right: 0px !important;
}
/* Input container for icons */
.input-container {
    position: relative;
    width: 100%;
}

/* Icon styling */
.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.1rem;
    z-index: 10;
}

/* Adjust input padding to accommodate icon */
.input-container .form-control {
    padding-left: 40px; /* Add space for icon */
}

/* Specific adjustments for OTP inputs */
.input-container .otp-input {
    padding-left: 40px; /* Add space for icon */
    width: 60px;
    height: 60px;
}

/* Ensure icon color changes on focus */
.input-container .form-control:focus + .input-icon,
.input-container .form-control:focus ~ .input-icon {
    color: #FF8D53;
}

/* Validation states */
.input-container .form-control.is-valid + .input-icon,
.input-container .form-control.is-valid ~ .input-icon {
    color: #28a745;
}

.input-container .form-control.is-invalid + .input-icon,
.input-container .form-control.is-invalid ~ .input-icon {
    color: #dc3545;
}