/* Reset Password Pages Styles */

.code-input-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0;
    width: 100%;
}

.code-input {
    width: 14%; /* Flexible width */
    max-width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s;
    background: #fff;
}

.code-input:focus {
    border-color: #1874ab;
    box-shadow: 0 0 0 3px rgba(24, 116, 171, 0.2);
    outline: none;
}

.resend-container {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.resend-link {
    background: none;
    border: none;
    color: #1874ab;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    transition: color 0.3s;
}

.resend-link:hover {
    color: #156291;
    text-decoration: underline;
}

.resend-link:disabled {
    color: #ccc;
    cursor: not-allowed;
    text-decoration: none;
}

/* Password eye toggle */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-input-wrapper input {
    padding-right: 55px !important;
}

.eye-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.eye-toggle:hover {
    color: #1874ab;
}

/* Password Strength Meter */
.password-strength {
    height: 4px;
    width: 100%;
    background-color: #eee;
    margin-top: 8px;
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s, background-color 0.3s;
}

.strength-weak { background-color: #ff4d4d; width: 33.33%; }
.strength-medium { background-color: #ffa500; width: 66.66%; }
.strength-strong { background-color: #4CAF50; width: 100%; }

/* Mobile Optimizations */
@media (max-width: 480px) {
    .code-input-group {
        gap: 6px;
    }
    
    .code-input {
        height: 50px;
        font-size: 20px;
        border-radius: 6px;
    }
}

@media (max-width: 360px) {
    .code-input-group {
        gap: 4px;
    }
    
    .code-input {
        height: 45px;
        font-size: 18px;
    }
}
