@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
}

.mainContainer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;

}

.mainLeft {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #F4F8FF;
    width: 50%;
    padding: 10px 40px 60px 40px;
}

.headerTitle {
    width: 520px;
    font-size: 40px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    line-height: 112%;
    margin: 20px 0 20px 0;
    color: #1B1B1B;
}

.headerText {
    width: 520px;
    font-size: 32px;
    font-weight: 300;
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: #393939;
}

.mainRight {
    width: 50%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}



.right-container {
    margin: 40px 30px 0 30px;
    width: 550px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}


.menu-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 60px;
}

.signInBtn {
    width: 105px;
    height: 42px;
    background-color: #fff;
    border: 1px solid #616161;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 300;
    cursor: pointer;
}

.signInBtn:hover {
    background-color: #616161;
    color: #fff;
}

/* Login popup styles */
.login-popup {
    position: absolute;
    top: 30px;
    right: 50px;
    width: 320px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    padding: 25px;
    z-index: 100;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.login-popup.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.login-form h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1B1B1B;
    margin-bottom: 20px;
    text-align: center;
}

.login-popup .form-group {
    margin-bottom: 16px;
}

.login-popup .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #393939;
}

.login-popup .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.login-popup .form-group input:focus {
    border-color: #044481;
    outline: none;
}

.login-btn {
    display: block;
    width: 100%;
    background-color: #FD8547;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-btn:hover {
    background-color: #f16018;
}

.forgot-password {
    font-size: 13px;
    color: #044481;
    text-align: center;
    margin-top: 15px;
    cursor: pointer;
    text-decoration: underline;
}

.forgot-password:hover {
    text-decoration: none;
}

/* Login message styling */
.login-message {
    margin-top: 15px;
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    transition: all 0.3s ease;
    display: none;
}

.login-message:not(:empty) {
    display: block;
}

.login-message.error {
    background-color: #ffeeee;
    color: #d63031;
    border: 1px solid #fab1a0;
}

.login-message.success {
    background-color: #e8f5e9;
    color: #00b894;
    border: 1px solid #55efc4;
}


.title-container {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 40px;
}

.welcomeLeft {
    font-size: 32px;
    margin-right: 15px;
}

.welcomeTitle {
    font-size: 24px;
    margin-bottom: 7px;
}

.welcomeSubTitle {
    font-size: 16px;
}

/* Progress indicator styles */
.progress-container {
    width: 100%;
    margin-bottom: 30px;
}

.progress-track {
    width: 100%;
    height: 8px;
    background-color: #E9F2FF;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #FD8547;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 14%; /* Initial width for step 1 */
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.progress-count {
    font-weight: 500;
}

#current-step {
    color: #FD8547;
    font-weight: 700;
}

#progress-percent {
    font-weight: 500;
    color: #044481;
}


.question-block {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 40px;
}

.question-box {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #D9EEFF;
    border-radius: 20px;
    padding: 35px 40px;
}

.question-title {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 15px;
}

#step-container {
    /* background-color: #FD8547; */
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
}

.step-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
    font-weight: 800;
    background-color: #044481;
    border-radius: 5px;

    color: #fff;
}

.step-title {
    font-size: 36px;
    font-weight: 800;

}

.question-description {
    font-size: 24px;
}

.question-input {
    width: 100%;
    margin-top: 25px;
}

.question-input input {
    width: 100%;
    /* height: 62px; */
    border-radius: 10px;
    border: none;
    background-color: #fff;
    color: #7B7B7B;
    font-size: 20px;
    font-weight: 300;
    padding: 20px 30px;
}

/* Dropdown styling */
.question-input select {
    width: 100%;
    border-radius: 10px;
    border: none;
    background-color: #fff;
    color: #7B7B7B;
    font-size: 20px;
    font-weight: 300;
    padding: 20px 30px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23131313%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 20px top 50%;
    background-size: 12px auto;
    cursor: pointer;
}

/* Text area styling */
.question-input textarea {
    width: 100%;
    border-radius: 10px;
    border: none;
    background-color: #fff;
    color: #7B7B7B;
    font-size: 20px;
    font-weight: 300;
    padding: 20px 30px;
    resize: none;
    font-family: 'Inter', sans-serif;
    min-height: 120px;
}

/* Step transition animations */
.fade-out {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s ease, transform 0.6s ease;
    position: relative;
    z-index: 1;
}

.fade-in {
    opacity: 0;
    transform: scale(1.00);
    transition: opacity 0.3s ease, transform 0.2s ease;
    position: relative;
    z-index: 2;
}

.visible {
    opacity: 1;
    transform: scale(1);
}

/* Loading animation styling */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    font-size: 18px;
    color: #044481;
    width: 100%;
    position: relative;
}

.loading::after {
    content: '';
    width: 30px;
    height: 30px;
    border: 3px solid #D9EEFF;
    border-top-color: #FD8547;
    border-radius: 50%;
    margin-left: 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Card selection styling */
.card-selection {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.card-option {
    flex: 1 0 45%;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    
    border: 2px solid transparent;
}

.card-option:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-option.selected {
    border-color: #FD8547;
    background-color: #FFF5EF;
}

.card-option-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.card-option-description {
    font-size: 14px;
    color: #666;
    font-weight: 300;
}

/* Button container for navigation */
.button-container {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    /* max-width: 320px; */
}

/* Next button styling */
.question-next-btn {
    width: 140px;
    height: 50px;
    background-color: #FD8547;
    color: #fff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    
}

.question-next-btn:hover {
    background-color: #f16018;
    color: #fff;
}

/* Back button styling */
.question-back-btn {
    width: 140px;
    height: 50px;
    color: #044481;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 300;
    cursor: pointer;
    text-decoration: underline;
    
}

.question-back-btn:hover {
    text-decoration: none;
}

/* Back button hover effect removed */

/* Success message styling */
.success-message {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    background-color: #D9EEFF;
    border-radius: 20px;
    /* margin: 40px 0; */
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #FD8547;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 20px;
}

.success-message h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #044481;
}

.success-message p {
    width: 100%;
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}

/* Registration form styles */
.registration-form {
    width: 100%;
    max-width: 500px;
    margin: 20px auto 0;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

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

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: #044481;
    outline: none;
}

.register-btn {
    display: block;
    width: 100%;
    background-color: #FD8547;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
}

.registration-note {
    font-size: 14px !important;
    color: #666 !important;
    margin-top: 15px !important;
    text-align: center;
}

.querstion-hint {
    margin-top: 30px;
    width: 100%;
    display: flex;
    flex-direction: row;
}

.hint-icon {
    font-size: 24px;
    margin-right: 10px;
}   

.hint-text {
    font-size: 15px;
    font-weight: 200;
}

.footer {
    width: 100%;
    height: 80px;
    background-color: #002443;
    display: flex;
    color: #fff;
    justify-content: space-between;
    align-items: center;
    border-top: 10px solid #004279;
    padding: 0 40px;
}