/* Same as your original CSS with additions */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

.main-login {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Geist", sans-serif;
    min-height: 80vh;
}

.container {
    width: 100%;
    max-width: 360px;
    padding: 20px;
}

.back-link {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    margin: 30px;
    display: inline-block;
    font-family: "Geist", sans-serif;
}

.login-box {
    text-align: center;
}

.logo {
    height: auto;
    width: 150px;
    margin-left: 28%;
}

.logo img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.email-input {
    width: 92.5%;
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    outline: none;
    font-family: "Geist", sans-serif;
}

.email-input::placeholder {
    color: #aaa;
}

.sign-in-btn {
    width: 100%;
    padding: 12px;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 20px;
}

.sign-in-btn:disabled {
    background-color: #666;
    cursor: not-allowed;
}

.spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 14px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.divider {
    position: relative;
    margin: 20px 0;
    text-align: center;
}

.divider span {
    font-size: 12px;
    color: #666;
    background-color: #fff;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ddd;
    z-index: 0;
}

.google-btn {
    width: 100%;
    padding: 12px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 20px;
}

.google-logo {
    width: 20px;
    height: 20px;
}

.signup-link {
    font-size: 14px;
    color: #666;
}

.signup-link a {
    color: #000;
    text-decoration: underline;
}

.otp-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    width: 100%;
}

.otp-input {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-family: "Geist", sans-serif;
}

.otp-input:focus {
    border-color: #000;
}

.otp-input.valid {
    border-color: #28a745;
    background-color: #e6ffe6;
}

.hidden {
    display: none;
}

.error-msg {
    color: #dc3545;
    font-size: 14px;
    margin-bottom: 15px;
    display: none;
}

.error-msg { 
    color: #dc3545; 
    font-size: 14px; 
    margin-bottom: 15px; 
    display: none; 
}


.password-container {
    position: relative;
    width: 100%;
}
.email-input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.eye-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
}

.otp-input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.resend-container {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.resend-btn {
    background: #ccc;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: not-allowed;
}
.resend-btn.enabled {
    background: #000;
    cursor: pointer;
}
#timer {
    font-size: 14px;
    color: #666;
}

.eye-icon {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    display: inline-block;
}

.password-container {
    position: relative;
}

.hidden {
    display: none;
}

.otp-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.otp-input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 18px;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.enabled {
    pointer-events: auto;
    opacity: 1;
}

.valid {
    border-color: green;
}