:root {
    --primary-color: #FF8D53;
    --primary-dark: #FF7043;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-light: #F8F9FA;
    --text-black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    height: 100vh;
}
.text-primary {
    color: var(--primary-color) !important;
}

.signup-container {
    background:#F5F4FD;
    height: 100vh;
    overflow: hidden;
}
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.left-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.left-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.left-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.candidate-image {
    width: 300px;
    height: 300px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    animation: scaleIn 1s ease-out;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.candidate-image i {
    font-size: 120px;
    color: #667eea;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.left-heading {
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
}

.left-heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.left-heading p {
    font-size: 1.1rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.right-section {
    padding: 40px 50px;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.right-section::-webkit-scrollbar {
    width: 8px;
}

.right-section::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.right-section::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.right-section::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.logo {
    text-align: center;
}

.logo h3 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
}

.step-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
}

.step-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: #585858;
    z-index: 0;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #585858;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #585858;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
    margin: 0px 115px;
}

.step.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 4px rgba(255, 140, 97, 0.2);
}

.step.completed {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
}

.form-title h4 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-black);
    text-align: center;
}

.form-title h4 .highlight {
    color: var(--primary-color);
    display: inline;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin: 6px auto 0;
    position: relative;
}
.form-title h4 .highlight::before {
    content: "\A"; /* newline */
    white-space: pre;
}

.form-title p {
    color: #585858;
    font-size: 16px;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.form-label {
    display: none !important; /* remove labels from UI */
}

/* Show and style Gender label explicitly */
.gender-label {
    display: block !important;
    font-weight: 600;
    color: #585858;
    margin-bottom: 8px;
}

/* Step 2 labels visible per design */
.step-2-data .form-label {
    display: block !important;
    font-weight: 600;
    color: #585858;
    margin-bottom: 8px;
}

/* Step 3 labels visible per design */
.step-3-data .form-label {
    display: block !important;
    font-weight: 600;
    color: #585858;
    margin-bottom: 8px;
}

/* Step 4 labels visible per design */
.step-4-data .form-label {
    display: block !important;
    font-weight: 600;
    color: #585858;
    margin-bottom: 8px;
}

/* Location Modal: always show and style labels */
#locationModal .form-label {
    display: block !important;
    font-weight: 600;
    color: #585858; /* Bootstrap primary for distinction */
    margin-bottom: 6px;
}

/* Upload area card per mobile design */
.upload-area {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
}
.upload-area i {
    font-size: 28px;
    color: var(--primary-color);
}
.upload-area p {
    margin-top: 8px;
    color: #888;
    font-size: 0.9rem;
}

/* Add your resume pill */
.resume-add-btn {
    background: #f4f2ff;
    color: #585858;
    border: none;
    border-radius: 9999px;
    padding: 12px 18px;
    display: block;
    width: 85%;
    margin: 12px auto 0;
}

/* Preview card */
.resume-preview-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.resume-preview .file-summary {
    color: #2C3E50;
    font-weight: 500;
}
.update-resume-btn {
    border-radius: 9999px;
}

/* Step 4 CTA row */
.skip-data .add-experience-btn {
    color: #585858;
    font-weight: 500;
}
.skip-data .add-experience-btn i {
    color: var(--primary-color);
    margin-right: 6px;
}
.skip-pill {
    display: inline-block;
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 9999px;
    padding: 5px 21px;
    text-decoration: none;
}

/* Input with Icons */
.input-group-icon {
    position: static; /* neutralize wrapper */
}

.input-group-icon i {
    display: none !important; /* hide icons */
}

/* restore default padding since icons are removed */
.input-group-icon .form-control,
.input-group-icon .form-select {
    padding-left: 15px !important;
}

.form-control, .form-select {
    padding: 12px 15px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    transition: all 0.3s;
}

/* Mobile design: softer placeholder color to match UI */
.form-control::placeholder,
.form-select::placeholder {
    color: #B0B0B0;
    opacity: 1; /* ensure consistent across browsers */
}
/* Safari/Chrome legacy */
::-webkit-input-placeholder { color: #B0B0B0; }
/* Firefox legacy */
::-moz-placeholder { color: #B0B0B0; }
/* IE/Edge legacy */
:-ms-input-placeholder { color: #B0B0B0; }
:-moz-placeholder { color: #B0B0B0; }

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 140, 97, 0.1);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

.gender-options, .education-options, .english-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-btn {
    position: relative;
}

.radio-btn input[type="radio"] {
    display: none;
}

.radio-btn label {
    padding: 10px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    color: #585858;
    font-weight: 500;
    background-color: white;
}

/* default pill radios do not use pseudo-elements */
.radio-btn label::before,
.radio-btn label::after {
    content: none;
}

.radio-btn input[type="radio"]:checked + label {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Gender radios as circular controls */
.gender-options .radio-btn label,
.english-options .radio-btn label {
    position: relative;
    padding-left: 20px;
    border: none;
    border-radius: 0;
    background: transparent;
}

.gender-options .radio-btn label::before,
.english-options .radio-btn label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #C8C8C8;
    border-radius: 50%;
    background: #ffffff;
}

.gender-options .radio-btn label::after,
.english-options .radio-btn label::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gender-options .radio-btn input[type="radio"]:checked + label,
.english-options .radio-btn input[type="radio"]:checked + label {
    color: #2C3E50;
}

.gender-options .radio-btn input[type="radio"]:checked + label::before,
.english-options .radio-btn input[type="radio"]:checked + label::before {
    border-color: var(--primary-color);
}

.gender-options .radio-btn input[type="radio"]:checked + label::after,
.english-options .radio-btn input[type="radio"]:checked + label::after {
    opacity: 1;
}

.english-options .radio-btn input[type="radio"]:checked + label {
    background: transparent;
    border: none;
}

.gender-options .radio-btn input[type="radio"]:checked + label {
    background: transparent;
    border: none;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.9rem;
}

.skill-tag .remove-skill {
    cursor: pointer;
    font-weight: bold;
}

.skill-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.skill-suggestion {
    padding: 6px 12px;
    background: #F0F0F0;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.skill-suggestion:hover {
    background: var(--primary-color);
    color: white;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 40px;
    border-radius: 9999px; /* round pill shape */
    font-weight: 600;
    transition: all 0.3s;
    color: #ffffff;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 97, 0.3);
}

/* Disabled state to match screenshot */
.btn-primary:disabled,
.btn-primary.disabled {
    background: #F1F1F1;
    color: #C0C0C0;
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

.btn-secondary {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 40px;
    border-radius: 9999px; /* round pill shape */
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.login-link {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.otp-inputs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.otp-inputs input {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
}

.otp-inputs input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.resend-section {
    text-align: center;
    margin: 20px 0;
}

.resend-timer {
    color: var(--text-light);
    margin-bottom: 10px;
}

.resend-link {
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
}

.upload-area {
    border: 2px dashed #E0E0E0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(255, 140, 97, 0.05);
}

.upload-area i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.add-experience-btn {
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
}

.experience-item {
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
}

.remove-experience {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #dc3545;
}

/* Location Suggestions */
.location-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #E0E0E0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.location-suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-suggestion-item:hover {
    background: #F8F9FA;
}

.location-suggestion-item i {
    color: var(--primary-color);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    body {
        overflow: auto;
        height: auto;
    }

    .signup-container {
        height: auto;
        overflow: visible;
    }

    .left-section {
        height: auto;
        min-height: 400px;
        padding: 40px 20px;
        display: none;
    }

    .candidate-image {
        width: 200px;
        height: 200px;
    }

    .candidate-image i {
        font-size: 80px;
    }

    .left-heading h2 {
        font-size: 1.8rem;
    }

    .left-heading p {
        font-size: 0.9rem;
    }

    .right-section {
        height: auto;
        overflow: visible;
        padding: 30px 20px;
    }

    .form-title h4 {
        font-size: 1.5rem;
    }

    .otp-inputs input {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .education-options,
    .english-options {
        flex-direction: row;
    }
    .step-2-data{
        margin-top: 10px;
    }
    .step-2-data .form-label{
        margin-bottom: 10px;
        margin-top: 20px;
    }
     .step-3-data .form-label{
        margin-bottom: 10px;
        margin-top: 10px;
    }
    .skip-data{
        padding-bottom: 10px !important;
    }

    .radio-btn label {
        display: block;
        text-align: center;
    }

    .step-progress::before {
        left: 20%;
        right: 20%;
    }

    .right-section {
        padding: 0px 15px 0px 15px;
        height: 100%;
    }
    .step {
        margin: 0px 45px;
    }
    .step-progress {
        margin-bottom: 5px;
    }
    .form-title {
        text-align: center;
        margin-bottom: -15px;
    }
    .mb-3 {
        margin-bottom: 0rem !important;
    }
    .form-label {
        margin-bottom: 0px;
    }
    .form-check {
        margin-top: 10px;
    }

}
.is-invalid {
    border-color: #dc3545;
    color: #dc3545;
}
.is-valid{
    border-color: #28a745;
    color: #28a745;
}
.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 48px;
    user-select: none;
    -webkit-user-select: none;
    padding: 8px 12px;
}
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #dfdddd;
    border-radius: 4px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 12px;
    right: 1px;
    width: 20px;
}
.area-suggestions {
    display: none;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    max-height: 220px;
    overflow-y: auto;
    margin-top: 4px;
    z-index: 1060;
}
.area-suggestions .suggestion-item {
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border-bottom: 1px solid #f1f3f5;
}
.area-suggestions .suggestion-item:last-child { border-bottom: none; }
.area-suggestions .suggestion-item i { color: #0d6efd; }
.area-suggestions .suggestion-item:hover { background: #f8f9fa; }
