html {
    scroll-behavior: smooth;
}

.NewRegistration-section {
    padding: 30px 0px 100px 0;
}

.NewRegistrationcontainer {
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-height: 530px;
    height: 100%;
}

.NewRegistrationleft-panel {
    background: linear-gradient(135deg, #198BEA 0%, #1565c0 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.NewRegistrationleft-panel::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -150px;
    right: -100px;
}

.NewRegistrationleft-panel::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
}

.NewRegistrationwelcome-content {
    position: relative;
    z-index: 1;
    color: white;
}

.NewRegistrationlogo {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -1px;
    transition: transform 0.3s ease;
}

.NewRegistrationlogo:hover {
    transform: scale(1.05);
}

.NewRegistrationwelcome-content h1 {
    font-size: 32px;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.wave {
    display: inline-block;
    transform-origin: 70% 70%;
    animation: wave 1.2s ease-in-out infinite;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(12deg);
    }

    45% {
        transform: rotate(-12deg);
    }

    60% {
        transform: rotate(8deg);
    }

    75% {
        transform: rotate(-6deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wave {
        animation: none;
    }
}

.NewRegistrationwelcome-content p {
    font-size: 14px;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 40px;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.NewRegistrationright-panel {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* max-height: 80vh; */
    /* overflow-y: auto; */
    /* overflow-x: hidden; */
}

/* 
.NewRegistrationright-panel::-webkit-scrollbar {
    width: 8px;
}

.NewRegistrationright-panel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.NewRegistrationright-panel::-webkit-scrollbar-thumb {
    background: #198BEA;
    border-radius: 10px;
}

.NewRegistrationright-panel::-webkit-scrollbar-thumb:hover {
    background: #1565c0;
} */

.NewRegistrationform-header {
    margin-bottom: 15px;
    text-align: center;
}

.NewRegistrationform-header h2 {
    display: none;
    font-size: 32px;
    color: #172A39;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 40px;
}

.form-sectionRegisterLogin {
    margin-bottom: 30px;
    margin-bottom: 20px;
}

.section-titleRegisterLogin {
    font-size: 16px;
    font-size: 15px;
    font-weight: 700;
    color: #172A39;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8e8e8;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.section-titleRegisterLogin i {
    margin-right: 10px;
    color: #198BEA;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.section-titleRegisterLogin:hover i {
    transform: rotate(360deg);
}

.form-rowRegisterLogin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.form-row-threeRegisterLogin {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    margin-bottom: 20px;
    margin-bottom: 0px;

    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.form-groupRegisterLogin {
    margin-bottom: 20px;
    margin-bottom: 2px;
}


.form-groupRegisterLogin label {
    display: block;
    margin-bottom: 8px;
    color: #172A39;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.requiredRegisterLogin {
    color: #ff4444;
    margin-left: 3px;
}

.input-wrapperRegisterLogin {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapperRegisterLogin i.input-icon {
    position: absolute;
    left: 16px;
    color: #198BEA;
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Add after .input-wrapperRegisterLogin i.input-icon */

.edit-iconRegisterLogin {
    position: absolute;
    right: 16px;
    color: #198BEA;
    font-size: 16px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-iconRegisterLogin:hover {
    background: rgba(25, 139, 234, 0.1);
    color: #1565c0;
    border-radius: 8px;
    /* transform: translateY(-50%) scale(1.1); */
}

.edit-iconRegisterLogin:active {
    transform: scale(1.05);
}


.form-groupRegisterLogin input,
.form-groupRegisterLogin select,
.form-groupRegisterLogin textarea {
    width: 100%;
    padding: 14px 50px 14px 45px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: 'Inter', sans-serif;
}

.form-groupRegisterLogin input::placeholder,
.form-groupRegisterLogin select::placeholder,
.form-groupRegisterLogin textarea::placeholder {
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

.form-groupRegisterLogin.NameInputs {
    /* width: 100%; */
    flex: 1;
    min-width: 0;
}

.form-groupRegisterLogin textarea {
    resize: vertical;
    min-height: 100px;
}

.form-groupRegisterLogin select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23198BEA' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-color: #fafafa;
    padding-right: 45px;
}

.form-groupRegisterLogin input:focus,
.form-groupRegisterLogin select:focus,
.form-groupRegisterLogin textarea:focus {
    outline: none;
    border-color: #198BEA;
    background: white;
    box-shadow: 0 0 0 4px rgba(25, 139, 234, 0.1);
    transform: translateY(-1px);
}

.form-groupRegisterLogin input:focus+.input-icon,
.input-wrapperRegisterLogin:focus-within .input-icon {
    color: #1565c0;
    transform: scale(1.1);
}

.toggle-passwordRegisterLogin {
    position: absolute;
    right: 16px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    z-index: 3;
    background: transparent;
    border: none;
    font-size: 16px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-passwordRegisterLogin:hover {
    color: #198BEA;
    transform: scale(1.15);
}

.toggle-passwordRegisterLogin:active {
    transform: scale(1.05);
}

.phone-inputRegisterLogin {
    display: flex;
    gap: 12px;
}

.country-code {
    width: 120px;
    flex-shrink: 0;
}

.phone-numberRegisterLogin {
    flex: 1;
}

.phone-numberRegisterLogin .input-fields {
    height: 49.5px;
    box-sizing: border-box;
}

.form-optionsRegisterLogin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.checkbox-wrapperRegisterLogin {
    display: flex;
    align-items: flex-start;
}

.checkbox-wrapperRegisterLogin input[type="checkbox"],
.checkbox-wrapperRegisterLogin input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #198BEA;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.checkbox-wrapperRegisterLogin input[type="checkbox"]:hover,
.checkbox-wrapperRegisterLogin input[type="radio"]:hover {
    transform: scale(1.1);
}

.checkbox-wrapperRegisterLogin label {
    font-size: 13px;
    color: #666;
    cursor: pointer;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.5;
    transition: color 0.3s ease;
    flex-wrap: wrap;
    display: block;
}

.checkbox-wrapperRegisterLogin label:hover {
    color: #172A39;
}

.checkbox-wrapperRegisterLogin label a {
    color: #198BEA;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.checkbox-wrapperRegisterLogin label a:hover {
    text-decoration: underline;
    color: #1565c0;
}

.forgot-linkRegisterLogin {
    color: #198BEA;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.forgot-linkRegisterLogin:hover {
    color: #1565c0;
    text-decoration: underline;
}

.password-strengthRegisterLogin {
    margin-top: 8px;
    height: 4px;
    background: #e8e8e8;
    border-radius: 2px;
    overflow: hidden;
}

.strength-barRegisterLogin {
    height: 100%;
    width: 0;
    transition: all 0.5s ease;
}

.strength-barRegisterLogin.weak {
    width: 33%;
    background: #ff4444;
}

.strength-barRegisterLogin.medium {
    width: 66%;
    background: #ffaa00;
}

.strength-barRegisterLogin.strong {
    width: 100%;
    background: #00C851;
}

.radio-groupRegisterLogin {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-wrapperRegisterLogin {
    display: flex;
    align-items: center;
}

.radio-wrapperRegisterLogin input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #198BEA;
    transition: transform 0.2s ease;
}

.radio-wrapperRegisterLogin input[type="radio"]:hover {
    transform: scale(1.1);
}

.radio-wrapperRegisterLogin label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    font-weight: 400;
    transition: color 0.3s ease;
}

.radio-wrapperRegisterLogin label:hover {
    color: #172A39;
}

.btn-primaryRegisterLogin {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #198BEA 0%, #1565c0 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(25, 139, 234, 0.3);
    margin-bottom: 24px;
    margin-bottom: 10px;
    margin-top: 10px;
    margin-top: 0px;
}

.btn-primaryRegisterLogin:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 139, 234, 0.5);
}

.btn-primaryRegisterLogin:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(25, 139, 234, 0.3);
}

.dividerRegisterLogin {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #999;
    font-size: 14px;
}

.dividerRegisterLogin::before,
.dividerRegisterLogin::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e8e8;
}

.dividerRegisterLogin span {
    padding: 0 16px;
}

.social-buttonsRegisterLogin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.helper-textRegisterLogin {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
    transition: color 0.3s ease;
}

/* .signin-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
    color: #666;
    font-size: 14px;
}

.signin-link a {
    color: #198BEA;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.signin-link a:hover {
    color: #1565c0;
    text-decoration: underline;
} */

.GoogleCapture {
    transform: scale(0.85);
    transform-origin: 0 0;
    margin: 0 0 5px 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    animation: slideInModal 0.4s ease;
    position: relative;
}

@keyframes slideInModal {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }

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

.modal-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #198BEA 0%, #1565c0 100%);
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    scroll-behavior: smooth;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #198BEA;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #1565c0;
}

.modal-body h4 {
    color: #172A39;
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 12px 0;
    transition: color 0.3s ease;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 14px;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 2px solid #e8e8e8;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.btn-modal {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-modal-secondary {
    background: #e8e8e8;
    color: #172A39;
}

.btn-modal-secondary:hover {
    background: #d0d0d0;
    transform: translateY(-2px);
}

.btn-modal-primary {
    background: linear-gradient(135deg, #198BEA 0%, #1565c0 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(25, 139, 234, 0.3);
}

.btn-modal-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(25, 139, 234, 0.4);
}

/* Progress Bar Styles */
/* .progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    margin-bottom: 0px;
    padding: 0 20px;
}

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

.step-number {
    width: 35px;
    height: 35px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    font-size: 12px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.step-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.progress-step.active .step-number {
    background-color: #198BEA;
    color: white;
    border-color: #198BEA;
    box-shadow: 0 0 0 3px rgba(25, 139, 234, 0.2);
}

.progress-step.active .step-label {
    color: #198BEA;
    font-weight: 600;
}

.progress-step.completed .step-number {
    background-color: #172A39;
    color: white;
    border-color: #172A39;
}

.progress-step.completed .step-label {
    color: #172A39;
}

.progress-step.completed .step-number::after {
    content: '✓';
    position: absolute;
    font-size: 16px;
}

.progress-line {
    flex: 1;
    height: 2px;
    background-color: #e0e0e0;
    margin: 0 8px;
    position: relative;
    top: -15px;
    top: -11px;
    transition: background-color 0.3s ease;
}

.progress-line.completed {
    background-color: #172A39;
} */

/* Progress Bar Styles */
.progress-container {
    display: flex;
    display: none;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
    padding: 0 20px;
}

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

.step-number {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    position: relative;
}

.step-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Active step */
.progress-step.active .step-number {
    background-color: #198BEA;
    color: white;
    border-color: #198BEA;
    box-shadow: 0 0 0 3px rgba(25, 139, 234, 0.2);
}

.progress-step.active .step-label {
    color: #198BEA;
    font-weight: 600;
}

/* Completed step - GREEN with WHITE CHECKMARK */
.progress-step.completed .step-number {
    background-color: #4CAF50 !important;
    border-color: #4CAF50 !important;
    color: transparent !important;
    font-size: 0 !important;
    /* Hide the number */
}

.progress-step.completed .step-label {
    color: #4CAF50;
    font-weight: 600;
}

/* White checkmark appears ONLY when completed */
.progress-step.completed .step-number::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: 700;
    display: block;
}

/* Remove the old ::after if it exists */
.progress-step.completed .step-number::after {
    display: none;
}

.progress-line {
    flex: 1;
    height: 2px;
    background-color: #e0e0e0;
    margin: 0 8px;
    position: relative;
    top: -11px;
    transition: background-color 0.3s ease;
}

.progress-line.completed {
    background-color: #4CAF50;
}


/* Form Step Styles */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

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

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

/* Button Group */
.button-groupRegisterLogin {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    margin-top: 12px;
}

.btn-secondaryRegisterLogin {
    flex: 1;
    padding: 14px 24px;
    background-color: #f5f5f5;
    color: #172A39;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondaryRegisterLogin:hover {
    background-color: #e0e0e0;
    border-color: #172A39;
}

.button-groupRegisterLogin .btn-primaryRegisterLogin {
    flex: 1;
    margin-bottom: 0;
}

/* Error Messages */
.error-message {
    display: block;
    color: #dc3545;
    font-size: 13px;
    font-size: 11px;
    /* margin-top: 6px; */
    min-height: 18px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .NewRegistrationcontainer {
        grid-template-columns: 1fr;
        max-width: 95%;
        max-height: max-content;
    }

    .NewRegistrationleft-panel {
        display: none;
    }

    .progress-container {
        padding: 0 10px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .step-label {
        font-size: 11px;
    }

    .progress-line {
        margin: 0 5px;
        top: -12px;
    }

    .button-groupRegisterLogin {
        /* flex-direction: column; */
    }

    .form-row-threeRegisterLogin {
        flex-direction: column;
    }

    .form-groupRegisterLogin.NameInputs {
        width: 100%;
    }
}