/* Login Wrapper */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 1s ease-in-out;
}

/* Login Card */
.login-card {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: slideUp 0.6s ease-in-out;
}

/* Titles */
.login-title {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--color-black);
}

.login-subtitle {
    font-size: 16px;
    color: var(--color-secondary);
    margin-bottom: 30px;
}

/* Forgot Password Link */
.forgot-link {
    font-size: 14px;
    color: var(--color-black);
    text-decoration: underline;
    transition: color 0.3s;
    flex: 1 1 auto;
    text-align: right;
    min-width: 140px;
    cursor: pointer;
}

.forgot-link:hover {
    color: var(--color-secondary);
}

/* Register Link Styling */
.register-link {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    color: var(--color-secondary);
}

.register-link a {
    color: var(--color-black);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
}

.register-link a:hover {
    color: var(--color-secondary);
}

/* Password Input Group */
.password-group {
    position: relative;
    width: 100%;
}

.password-group input {
    width: 100%;
    padding-right: 50px;
    box-sizing: border-box;
}

.password-group button#togglePassword {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-secondary);
    font-weight: 600;
    cursor: pointer;
    padding: 0 8px;
    font-size: 14px;
    user-select: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

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

/* Responsive Styles */
@media (max-width: 600px) {
    .login-card {
        padding: 25px 20px;
    }

    .login-title {
        font-size: 24px;
    }

    .login-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .forgot-link {
        text-align: left;
    }
}

@media (max-width: 400px) {
    .forgot-link {
        font-size: 13px;
    }
}
