:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --background: #f0f2f5;
    --gradient: linear-gradient(135deg, #3498db, #2980b9);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f0f2f5;
    background-image:
        radial-gradient(circle at 100% 100%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 0% 0%, rgba(41, 128, 185, 0.1) 0%, transparent 50%);
    min-height: 100vh;
}

/* Remove extra layers and combine styles */
.registration-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
    /* Changed from hidden to show progress bar */
    display: flex;
    flex-direction: column;
}

/* Add decorative circles directly to container */
.registration-container::before,
.registration-container::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.registration-container::before {
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--gradient);
    opacity: 0.1;
}

.registration-container::after {
    bottom: -30px;
    left: -30px;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    opacity: 0.1;
}

/* Update slide styling to remove layering */
.slide {
    width: 100%;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.slide.active {
    display: block;
}

.slide:first-child {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Remove overlay classes and extra containers */
.slides-container {
    width: 100%;
    flex: 1;
    min-height: 400px;
    /* Ensure minimum height for content */
    position: relative;
}

/* Keep form styling */
.form-group {
    position: relative;
    z-index: 2;
    margin: 10px 0;
}

.slide h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;

}

.slide h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.slide h2 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Increase gap */
    margin: 1.5rem 0;
    /* Reduced from 1.5rem */
    max-width: 600px;
    /* Limit width */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.form-group input,
.form-group select {
    padding: 1.2rem;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    outline: none;
}

input,
select {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    width: 300px;
}

select[multiple] {
    height: 120px;
}


.input-with-icon {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
}

/* Enhanced Dropdown Styling */
.input-with-icon select {
    width: 100%;
    padding: 1.2rem 3rem 1.2rem 3rem;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    appearance: none;
    background: #fff;
    cursor: pointer;
    color: var(--text-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Custom dropdown arrow */
.input-with-icon::after {
    content: '';
    position: absolute;
    right: 150px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    pointer-events: none;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.input-with-icon select:focus+ ::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Optgroup styling */
.input-with-icon select optgroup {
    font-weight: 600;
    color: var(--primary-color);
    background: #f8fafc;
    padding: 0.8rem;
}

/* Option styling */
.input-with-icon select option {
    padding: 1rem;
    color: var(--text-primary);
    background: #fff;
    font-size: 1rem;
}

/* Hover effects */
.input-with-icon select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.1);
}

/* Focus effects */
.input-with-icon select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    outline: none;
}

/* Icon styling */
.input-with-icon i {
    position: absolute;
    left: 130px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Active state */
.input-with-icon select:focus+i {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

/* Disabled state */
.input-with-icon select:disabled {
    background-color: #f5f7fa;
    cursor: not-allowed;
    color: var(--text-secondary);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .input-with-icon select {
        padding: 1rem 2.5rem 1rem 2.5rem;
        font-size: 0.95rem;
    }

    .input-with-icon i {
        font-size: 1.1rem;
        left: 1rem;
    }

    .input-with-icon::after {
        right: 1rem;
    }
}

.input-with-icon input {
    padding-left: 3rem;
}

.input-with-icon select {
    width: 100%;
    padding: 1rem 1rem 1rem 2.5rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat;
    background-position: calc(100% - 1rem) center;
}

.input-with-icon select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    outline: none;
}

.input-with-icon select optgroup {
    font-weight: 600;
    color: #2c3e50;
}

.input-with-icon select option {
    padding: 0.5rem;
    color: #34495e;
}

.input-with-icon select::-ms-expand {
    display: none;
}

.form-group input:focus+i,
.form-group select:focus+i {
    color: var(--primary-color);
}

button {
    padding: 1rem 2rem;
    padding-right: 1rem;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.next-btn,
.verify-btn {
    background: var(--gradient);
    padding: 1.2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
    margin: 0 0.75rem;
    /* Add horizontal spacing */
}

.next-btn:hover,
.verify-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.25);
}

.slide-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
    /* Add to vertically align buttons */
    margin-top: 10px;
    padding: 0 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    gap: 1.5rem;
    /* Add gap between navigation buttons */
}

.prev-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid #e1e8ed;
    margin: 0 0.75rem;
    padding: 1.2rem 3rem;
    /* Match padding with next button */
    border-radius: 50px;
    /* Match border-radius with next button */
    font-size: 1.1rem;
    /* Match font size with next button */
    font-weight: 600;
    /* Match font weight with next button */
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover {
    background: #f8fafc;
    color: var(--text-primary);
    transform: translateY(-3px);
    /* Match hover effect with next button */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Update progress bar styling */
.progress-bar {
    position: relative;
    /* Changed from fixed */
    width: 100%;
    padding: 10px;
    margin: 10px;
}

.progress {
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    margin-bottom: 1.5rem;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e1e8ed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
}

.step.active {
    border-color: var(--primary-color);
    background: var(--gradient);
    color: white;
    transform: scale(1.1);
}

.verification-group {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    /* Reduced from 1.5rem */
}

.verification-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.otp-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 0.75rem 0;
    /* Adjusted spacing */
    max-width: 300px;
    /* Limit width */
    margin-top: 0.5rem;
    /* Reduced from 1rem */
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 2.5rem;
    /* Increased from 2rem */
    font-weight: 700;
    /* Increased from 600 for better visibility */
    border: 2px solid #e1e8ed;
    border-radius: 16px;
    background: #f8fafc;
    transition: all 0.3s ease;
    min-width: 50px;
    padding: 0;
    /* Remove padding to prevent overflow */
}

.otp-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    outline: none;
}

.verification-message {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    margin-top: 0.5rem;
    /* Reduced spacing */
    color: #64748b;
    font-size: 1rem;
}

.resend-btn {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin-bottom: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.resend-btn:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.timer {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 0.25rem;
    /* Reduced spacing */
}

.verify-btn.disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
}

/* Add spacing between buttons */
.button-group {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    justify-content: center;
}

/* Add responsive styles */
@media (max-width: 768px) {
    .registration-container {
        margin: 1rem;
        padding: 1.5rem;
        padding-bottom: 40px;
    }

    .slide {
        width: calc(100% - 2rem);
        padding: 1rem;
    }

    .otp-container {
        gap: 0.5rem;
    }

    .otp-input {
        width: 50px;
        /* Adjusted for mobile */
        height: 50px;
        /* Adjusted for mobile */
        min-width: 50px;
        /* Adjusted for mobile */
        font-size: 2.2rem;
        /* Slightly smaller for mobile but still larger than before */
        font-weight: 700;
    }

    .next-btn,
    .verify-btn,
    .prev-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin: 0.5rem;
    }

    .button-group {
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .slides-container {
        min-height: 250px;
        margin-bottom: 15px;
    }

    .progress-bar {
        padding: 1rem;
        margin-top: 1rem;
    }
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.slide[data-slide="1"] {
    padding: 2rem;
}

.slide[data-slide="1"] h1 {
    margin-bottom: 2rem;
}

.slide[data-slide="1"] p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.slide[data-slide="4"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.slide[data-slide="4"] .form-group {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.slide[data-slide="4"] .multiselect-container {
    width: 100%;
    max-width: 400px;
}

.slide[data-slide="4"] .slide-nav {
    width: 100%;
    max-width: 400px;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.multiselect-container {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
}

.multiselect-dropdown {
    position: relative;
    width: 100%;
    background: #fff;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.multiselect-dropdown:hover {
    border-color: var(--primary-color);
}

.multiselect-selected {
    padding: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    /* Change from space-between */
    align-items: center;
    font-size: 1rem;
    color: #2c3e50;
    position: relative;
    /* Add this */
}

.multiselect-selected::after {
    content: '▼';
    font-size: 0.8em;
    color: #666;
    transition: transform 0.3s ease;
    position: absolute;
    /* Add this */
    right: 1.2rem;
    /* Add this */
}

.multiselect-dropdown.active .multiselect-selected::after {
    transform: rotate(180deg);
}

.multiselect-options {
    position: absolute;
    /* Changed from static */
    top: 100%;
    /* Position below the dropdown */
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    /* Ensure it appears above other content */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    display: none;
}

.multiselect-dropdown.active .multiselect-options {
    display: block;
}

/* Update multiselect options styling */
.multiselect-option {
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Add this */
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: center;
    /* Add this */
}

.multiselect-option:hover {
    background: #f8fafc;
}

.multiselect-option input[type="checkbox"] {
    margin: 0 0.5rem;
    /* Update margins */
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.option-label {
    font-size: 1rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Add this */
    gap: 0.5rem;
    width: 100%;
    /* Add this */
}

/* Scrollbar styling */
.multiselect-options::-webkit-scrollbar {
    width: 8px;
}

.multiselect-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.multiselect-options::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.multiselect-options::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Add these new styles for education select */
.education-select {
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
}

.education-select select {
    width: 100%;
    padding: 1.2rem 3rem;
    background: #fff;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-primary);
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.education-select optgroup {
    padding: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    background: #f8fafc;
}

.education-select option {
    padding: 1rem;
    font-size: 1rem;
    color: var(--text-primary);
    background: #fff;
}

.education-select select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.1);
}

.education-select select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.education-select i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.education-select::after {
    content: '▼';
    position: static;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 0.8rem;
    pointer-events: none;
    transition: transform 0.3s ease;
    box-shadow: none;
    border: none;
}

.education-select select:focus+i {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.education-select.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.backlog-container {
    width: 100%;
    margin-bottom: 1.5rem;
}

.backlog-container select {
    width: 100%;
    padding: 1.2rem 3rem;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #2c3e50;
    appearance: none;
}

.backlog-details {
    display: block;
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
    position: static;
    box-shadow: none;
    border: none;
}

.backlog-count {
    margin-bottom: 1rem;
}

.backlog-count label {
    display: block;
    margin-bottom: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.backlog-count input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.backlog-count input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Education Form Styling */
.education-form {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    max-width: 500px;
}

.education-select,
.score-input,
.english-test-select,
.backlog-section {
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
}

.education-select select,
.english-test-select select,
.backlog-section select {
    width: 100%;
    padding: 1.2rem 3rem;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    background: #fff;
    color: var (--text-primary);
    appearance: none;
    transition: all 0.3s ease;
}

.score-input {
    position: relative;
}

.score-input input {
    width: 100%;
    padding: 1.2rem 3rem;
    padding-right: 4rem;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.score-suffix {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Icon Styling */
.education-select i,
.score-input i,
.english-test-select i,
.backlog-section i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Backlog Details Styling */
.backlog-details {
    margin-top: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    display: block;
    position: static;
    box-shadow: none;
    border: none;
}

.backlog-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.backlog-count label {
    display: block;
    margin-bottom: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.backlog-count input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

/* Hover and Focus States */
.education-select select:hover,
.score-input input:hover,
.english-test-select select:hover,
.backlog-section select:hover,
.backlog-count input:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.1);
}

.education-select select:focus,
.score-input input:focus,
.english-test-select select:focus,
.backlog-section select:focus,
.backlog-count input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .backlog-inputs {
        grid-template-columns: 1fr;
    }

    .education-form {
        padding: 1.5rem;
    }
}

/* Backlog Form Styling */
.backlog-form {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
}

.backlog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.backlog-item {
    position: relative;
}

.backlog-item.full-width {
    grid-column: 1 / -1;
}

.backlog-item label {
    display: block;
    margin-bottom: 0.5rem;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
}

.backlog-item input,
.backlog-item textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.backlog-item textarea {
    resize: vertical;
    min-height: 100px;
}

.input-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Hover and Focus States */
.backlog-item input:hover,
.backlog-item textarea:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.backlog-item input:focus,
.backlog-item textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    background: #fff;
}

/* Icons */
.backlog-item i {
    position: absolute;
    left: -2rem;
    top: 2.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .backlog-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .backlog-form {
        padding: 1.5rem;
    }

    .backlog-item i {
        left: 1rem;
        top: 2.3rem;
    }

    .backlog-item input,
    .backlog-item textarea {
        padding-left: 2.5rem;
    }
}

.next-btn,
.finish-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide[data-slide="3"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.slide[data-slide="3"] .form-group {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.slide[data-slide="3"] .input-with-icon {
    width: 100%;
    max-width: 400px;
    margin-bottom: 1rem;
}

.slide[data-slide="3"] .slide-nav {
    width: 100%;
    max-width: 400px;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Update input widths */
.slide[data-slide="3"] select,
.slide[data-slide="3"] input {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.slide[data-slide="3"] h2 {
    margin-bottom: 1rem;
    /* Reduced from 1.5rem */
}

/* Standardize education background inputs */
.slide[data-slide="3"] .input-with-icon,
.slide[data-slide="3"] .backlog-container,
.slide[data-slide="3"] select,
.slide[data-slide="3"] input {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 1rem;
}

.slide[data-slide="3"] select,
.slide[data-slide="3"] input,
.slide[data-slide="3"] .backlog-container select {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    background: #fff;
    color: var(--text-primary);
    appearance: none;
    transition: all 0.3s ease;
}




.multiselect-container,
.slide[data-slide="4"] .multiselect-container,
.slide[data-slide="4"] select,
.slide[data-slide="4"] input {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 1rem;
}

.slide[data-slide="4"] input {
    max-width: 360px;
}

.slide[data-slide="4"] .form-group {
    width: 100%;
    max-width: 400px;
    /* Changed from 500px to match other inputs */
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.course-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.course-container select {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    background: #fff;
    color: #2c3e50;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Style optgroup */
.course-container optgroup {
    padding: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    background: #f8fafc;
}

/* Style options */
.course-container option {
    padding: 1rem;
    color: #2c3e50;
    background: #fff;
    font-size: 0.95rem;
}

/* Add hover effect */
.course-container select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

/* Add focus effect */
.course-container select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Style dropdown arrow */
.course-container {
    position: relative;
}

.course-container::after {
    content: '▼';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 0.8rem;
    pointer-events: none;
    transition: transform 0.3s ease;
}

/* Rotate arrow when select is focused */
.course-container select:focus+.course-container::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Style label */
.course-container label {
    display: block;
    margin-bottom: 0.8rem;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Updated Preferred Countries Styling */
.multiselect-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.multiselect-dropdown {
    width: 100%;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s ease;
}

.multiselect-selected {
    padding: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    /* Change from space-between */
    align-items: center;
    font-size: 1rem;
    color: #2c3e50;
    position: relative;
    /* Add this */
}

.multiselect-selected::after {
    content: '▼';
    font-size: 0.8rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    position: absolute;
    /* Add this */
    right: 1.2rem;
    /* Add this */
}

.multiselect-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
}

/* Update multiselect options styling */
.multiselect-option {
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Add this */
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: center;
    /* Add this */
}

.multiselect-option:hover {
    background: #f8fafc;
}

.multiselect-option input[type="checkbox"] {
    margin: 0 0.5rem;
    /* Update margins */
    width: 18px;
    height: 18px;
    border: 2px solid #e1e8ed;
    border-radius: 4px;
    cursor: pointer;
}

.option-label {
    font-size: 1rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Add this */
    gap: 0.5rem;
    width: 100%;
    /* Add this */
}

/* Custom scrollbar */
.multiselect-options::-webkit-scrollbar {
    width: 6px;
}

.multiselect-options::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 3px;
}

.multiselect-options::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.multiselect-options::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}