/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/


/* Step Indicator */
.step-indicator {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 8px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-gray);
    color: #999;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.step.active {
    background: var(--primary-blue);
    color: white;
}

.step.completed {
    background: var(--secondary-blue);
    color: white;
}

.step.completed i {
    font-size: 0.9rem;
}

.step-line {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: 3px;
    background: var(--light-gray);
    position: relative;
    top: -2px;
    max-width: 50px;
}

.step-line.completed {
    background: var(--secondary-blue);
}

.step-info {
    display: flex;
    text-align: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    flex-direction: column;
}

.step-info sedo-h4 {
    color: var(--dark-gray);
    font-size: 1.2rem;
    font-weight: 500;
}

.step-info sedo-p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.email-display {
    font-weight: 500;
    color: var(--primary-blue);
}


/* Custom scrollbar */
.form-fields::-webkit-scrollbar {
    width: 8px;
}

.form-fields::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.form-fields::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.form-fields::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Form Styles */
.form-group {
    margin-bottom: 5px;
    position: relative;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.form-group.btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    width: min(500px, 90%);
    font-weight: 500;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.form-input,
.form-textarea,
.form-select1 {
    width: min(500px, 90%);
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    font-family: inherit;
    background: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select1:focus {
    outline: none;
    border-color: var(--light-blue);
    -webkit-box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.08);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.08);
}

.form-input.error,
.form-textarea.error,
.form-select1.error {
    border-color: #dc3545;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.4;
}

.form-select1 {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

/* Error Messages */
.error-message {
    width: min(500px, 90%);
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    min-height: 18px;
    opacity: 0;
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    text-align: left;
}

.error-message.show {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

/* Code Error - Centered */
.code-error {
    text-align: center !important;
    width: 100%;
    display: block;
    transition: all 0.3s ease;
}

/* Success message styles */
.code-error.success {
    color: #28a745 !important;
    font-weight: 500;
}

/* Error message styles */
.code-error.error {
    color: #dc3545 !important;
}

/* Buttons */
.submit-btn {
    width: min(500px, 90%);
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: var(--gradient-yellow-blue);
    color: white;
    font-weight: 500;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    font-size: 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover:not(:disabled) {
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.submit-btn.loading {
    position: relative;
    color: transparent;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Add to existing CSS file - place these styles after existing .submit-btn styles */

/* Step 2 Verify Button */
#step2NextBtn {
    width: min(500px, 90%);
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: #e0e0e0;
    /* Default disabled color */
    color: #999;
    font-weight: 500;
    cursor: not-allowed;
    transition: all 0.2s ease;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    opacity: 0.7;
}

#step2NextBtn.enabled {
    background: var(--gradient-yellow-blue);
    color: white;
    cursor: pointer;
    opacity: 1;
}

#step2NextBtn.enabled:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

#step2NextBtn:disabled {
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#step2NextBtn.enabled.loading {
    position: relative;
    color: transparent;
}

#step2NextBtn.enabled.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.next-btn {
    max-width: 500px;
    margin-top: 10px;
}

/* Verification Code */
.verification-container {
    margin: 25px 0 15px 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.verification-code {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 12px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 10px;
}

.code-input {
    width: 55px;
    height: 65px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--dark-gray);
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    background: white;
    font-family: monospace;
}

.code-input:focus {
    outline: none;
    border-color: var(--light-blue);
    -webkit-box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.08);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.08);
}

.code-input.filled {
    border-color: var(--secondary-blue);
    background: rgba(67, 97, 238, 0.04);
}

.code-input.error {
    border-color: #dc3545;
    -webkit-animation: shake 0.3s ease;
    animation: shake 0.3s ease;
}

@-webkit-keyframes shake {

    0%,
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    25% {
        -webkit-transform: translateX(-3px);
        transform: translateX(-3px);
    }

    75% {
        -webkit-transform: translateX(3px);
        transform: translateX(3px);
    }
}

@keyframes shake {

    0%,
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    25% {
        -webkit-transform: translateX(-3px);
        transform: translateX(-3px);
    }

    75% {
        -webkit-transform: translateX(3px);
        transform: translateX(3px);
    }
}

/* Verification Actions */
.verification-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 15px 0 48px 0;
    gap: 10px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.text-btn {
    background: none;
    border: none;
    color: var(--light-blue);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 5px 8px;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    text-decoration: none;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.text-btn:hover:not(:disabled) {
    color: var(--primary-blue);
}

.text-btn:disabled {
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

.text-btn.ready {
    color: var(--primary-blue);
    font-weight: 500;
}

.text-btn.ready:hover {
    text-decoration: underline;
}

.timer-text {
    display: inline-block;
}

.timer-count {
    display: inline-block;
    opacity: 1;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.timer-count.hidden {
    display: none;
}

.separator {
    color: #999;
    font-size: 0.9rem;
}

/* Change Email Row */
.change-email-row {
    width: min(500px, calc(100% - 40px));
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    background: rgba(67, 97, 238, 0.05);
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.change-email-row sedo-span {
    color: #666;
    font-size: 1rem;
}

.change-email-row strong {
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 1rem;
}

.change-email-btn {
    font-size: 0.85rem;
    padding: 4px 8px;
    color: var(--light-blue);
}

/* Contact Steps */
.contact-step {
    display: none;
    padding-top: 20px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.contact-step.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow-y: auto;
}

/* Success Message Styles */
.success-message-container {
    text-align: center;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-animation: fadeIn 0.5s ease;
    animation: fadeIn 0.5s ease;
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

.success-icon {
    font-size: 3.5rem;
    color: #28a745;
}

.success-content {
    max-width: 500px;
}

.success-content sedo-h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.success-content sedo-p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    margin: 12px 0;
}

.success-content strong {
    color: #2c3e50;
    font-weight: 500;
}

.success-note {
    margin: 20px 20px 0px 20px;
    padding: 12px 15px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #28a745;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 8px;
}

.success-note i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {

    .contact-step.active {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 15dvh;
        padding-bottom: 15dvh;
    }

    #contactStep3 {
        padding: 20px 0 0 0;
    }

    .step {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .step-line {
        max-width: 35px;
    }

    .code-input {
        width: 54px;
        height: 62px;
        font-size: 1.6rem;
    }

    .verification-code {
        gap: 10px;
    }

    .form-input,
    .form-textarea,
    .form-select1 {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 14px;
        font-size: 0.95rem;
    }

    .verification-actions {
        gap: 8px;
    }

    .text-btn {
        font-size: 0.85rem;
    }

    .success-content sedo-h4 {
        font-size: 1.2rem;
    }

    .success-content sedo-p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {

    .step {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .step-line {
        max-width: 30px;
        height: 2px;
    }

    .code-input {
        width: 42px;
        height: 52px;
        font-size: 1.5rem;
    }

    .verification-code {
        gap: 8px;
    }

    .step-info sedo-h4 {
        font-size: 1.1rem;
    }

    .step-info sedo-p {
        font-size: 0.85rem;
    }

    .change-email-row {
        gap: 10px;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        padding: 12px;
    }

    .change-email-btn {
        -ms-flex-item-align: end;
        align-self: flex-end;
    }

    .separator {
        display: none;
    }

    .submit-btn {
        padding: 13px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .code-input {
        width: 38px;
        height: 48px;
        font-size: 1.4rem;
    }

    .verification-code {
        gap: 6px;
    }

    .step {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .step-line {
        max-width: 25px;
    }
}