.login-container {
    max-width: 400px;
    width: 90%;
}

.login-container h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    color: #fff;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.form-group label {
    text-align: left;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    box-sizing: border-box;
}

.password-input {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.toggle-password img {
    width: 20px;
    height: 20px;
    opacity: 1;
    color: #fff;
}

.forgot-link {
    text-align: left;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.forgot-link:hover {
    opacity: 1;
}

.error-message {
    background: #fff;
    color: black;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.signup-link {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.signup-link a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.signup-link a:hover {
    opacity: 1;
}

.account-switch {
    width: 100%;
    display: flex;
    border: 2px solid white;
    border-radius: 25px;
    padding: 2px;
}

.switch-option {
    flex: 1;
    padding: 10px 20px;
    border: none;
    border-radius: 23px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: transparent;
    color: white;
}

.switch-option.active {
    background: white;
    color: black;
    font-weight: bold;
}

.switch-option:not(.active):hover {
    background: rgba(255, 255, 255, 0.1);
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Pour Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}