/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: white;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 405px;
    background: linear-gradient(to bottom, #FF7E00, #FF9933);
    color: white;
    position: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #000;
    border-radius: 50%;
    margin-right: 8px;
}

.sidebar-main {
    flex-grow: 1;
}

.sidebar-main h1 {
    font-size: 54px;
    font-weight: 700;
    line-height: 1.2;
}

.sidebar-help {
    margin-bottom: 40px;
}

.help-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.help-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.help-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.sidebar-footer {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    margin-bottom: 10px;
}

.copyright {
    margin-top: 5px;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    margin-left: 405px;
    padding: 30px 60px;
    position: relative;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-weight: 600;
    background-color: #e0e0e0;
    color: #666;
}

.progress-step.completed .step-indicator {
    background-color: #FF7E00;
    color: white;
}

.progress-step.active .step-indicator {
    background-color: #FF7E00;
    color: white;
}

.progress-step span {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background-color: #e0e0e0;
    margin: 0 15px;
    position: relative;
    top: -20px;
    z-index: 1;
}

.step-line.completed {
    background-color: #FF7E00;
}

/* User Profile */
.user-profile {
    position: absolute;
    top: 30px;
    right: 60px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.profile-circle {
    width: 40px;
    height: 40px;
    background-color: #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 8px;
}

.dropdown-arrow {
    color: #666;
}

/* Main Form */
.main-form {
    max-width: 640px;
    margin-top: 40px;
}

.greeting {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 500;
}

.main-question {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #222;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.input-container {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.input-container.focused {
    border-color: #FF7E00;
    box-shadow: 0 0 0 2px rgba(255, 126, 0, 0.1);
}

.input-container.error {
    border-color: #ff3333;
}

.country-code {
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-right: 1px solid #e0e0e0;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    outline:none;
}

.country-code-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    max-height: 300px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 4px;
}

.country-code-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.country-code-option:hover {
    background-color: #f5f5f5;
}

.country-code-option span {
    margin-right: 8px;
}

.country-code-option .country-name {
    color: #666;
    font-size: 14px;
}

.country-code i {
    margin-left: 8px;
    font-size: 12px;
    color: #666;
}
#country-code-btn{
    border:none
}

.phone-input, .email-input {
    flex: 1;
    padding: 15px;
    border: none;
    outline: none;
    font-size: 16px;
    border-radius: 0 8px 8px 0;
}

.email-input {
    border-radius: 8px;
}

.input-hint {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

/* Checkbox Styles */
.consent-check {
    margin-bottom: 30px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #f9f9f9;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #FF7E00;
    border-color: #FF7E00;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 14px;
    color: #333;
}

/* Button Group */
.button-group {
    display: flex;
    align-items: center;
}

.btn-back {
    background-color: transparent;
    color: #666;
    border: none;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 20px;
    cursor: pointer;
    transition: color 0.3s;
    margin-right: 10px;
}

.btn-back:hover {
    color: #FF7E00;
}

.btn-primary {
    background-color: #FF7E00;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #FF7E00;
}

.btn-primary:disabled {
    background-color: #ffd7b3;
    cursor: not-allowed;
}

.or-press {
    margin-left: 15px;
    color: #666;
    font-size: 14px;
}

.key-hint {
    margin-left: 8px;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    font-size: 14px;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .sidebar {
        width: 300px;
    }
    
    .main-content {
        margin-left: 300px;
    }
    
    .sidebar-main h1 {
        font-size: 42px;
    }
    
    .main-question {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        min-height: 300px;
    }
    
    .main-content {
        margin-left: 0;
        padding: 30px 20px;
    }
    
    .main-question {
        font-size: 32px;
    }
    
    .progress-bar {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .button-group {
        flex-wrap: wrap;
    }
}

/* Animations */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}