﻿

.otp-input-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 25px 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 600;
    transition: all 0.3s;
}

    .otp-input.error {
        border-color: #dc3545;
        animation: shake 0.5s;
    }

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }

    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

.otp-input:focus {
    border-color: #6B73FF;
    box-shadow: 0 0 0 0.2rem rgba(107,115,255,0.25);
}

.step {
    display: none;
    animation: fadeIn 0.5s;
}

    .step.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    z-index: 1000;
}

    .loading-overlay.active {
        display: flex;
    }

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #F5A623;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

    .step-indicator::before {
        content: '';
        position: absolute;
        top: 15px;
        left: 0;
        right: 0;
        height: 2px;
        background: #e0e0e0;
        z-index: 1;
    }

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.step-label {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    transition: all 0.3s;
}

.step-item.active .step-number {
    background: #F5A623;
    transform: scale(1.2);
}

.step-item.active .step-label {
    color: #78480E;
    font-weight: 600;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: linear-gradient(270deg, #FFEDCB 0%, rgba(255, 255, 255, 0) 100%);
}

/* Main container styles */
.main-container {
    display: flex;
    min-height: 100vh;
    padding: 20px;
}

/* Login section */
.login-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0px 2px 47px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

/* Brand section */
.brand-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.brand-content {
    text-align: center;
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
}

.btn-primary {
    width: 100%; 
    background: #614919;
    color: white; 

}

/* Responsive styles */
@media (max-width: 992px) {
    .main-container {
        flex-direction: column-reverse;
    }

    .brand-section {
        padding: 2rem 1rem;
    }

    .brand-content img.logo {
        width: 120px;
        margin-bottom: 1rem;
    }

    .brand-content img.feature {
        width: 100%;
        max-width: 400px;
    }

    .login-section {
        padding: 1rem;
    }

    .login-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 1rem;
    }

    .form-control {
        padding: 0.5rem 0.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* Existing modal styles remain the same */
.modal-dialog {
    margin: 1.75rem auto;
    max-width: 500px;
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem;
    }
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px 0;
    text-align: center;
    font-size: 0.875rem;
    color: #614919;
    border-top: 1px solid #e0e0e0;
    z-index: 1000;
}
