body {
    background: #f5f5f5;
    color: #000;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 3rem;
    width: 100%;
    max-width: 420px;
    text-align: center;
    margin: 1rem;
}

.logo {
    width: 160px;
    margin-bottom: 2rem;
}

h2 {
    color: #000;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

input[type="email"],
input[type="password"],
input[type="text"],
.form-input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

input[type="email"]:focus, input[type="password"]:focus {
    border-color: #000;
}

button {
    width: 100%;
    padding: 1rem;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
    margin-top: 1rem;
}

button:hover {
    background: #222;
}

button:active {
    transform: scale(0.98);
}

.links {
    margin-top: 1.5rem;
    text-align: center;
}

.links a {
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.links a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.lang-switch {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.lang-switch a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.lang-switch a:hover {
    background: #eee;
}

.lang-switch a.active {
    background: #eaeaea;
    font-weight: bold;
}

.recovery-box {
    margin-top: 20px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    text-align: center;
}

.recovery-box p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.secondary-button {
    display: inline-block;
    width: auto;
    padding: 8px 16px;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.secondary-button:hover {
    background-color: #f0f0f0;
    text-decoration: none;
}

.error {
    background-color: rgba(255, 0, 0, 0.1);
    color: #d00;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
}

.success {
    background-color: rgba(0, 180, 0, 0.1);
    color: #080;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
}

.login-method-switch {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 2px;
}

.login-method-switch label {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    border-radius: 6px;
}

.login-method-switch input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.login-method-switch input[type="radio"]:checked + span {
    font-weight: 600;
}

.login-method-switch input[type="radio"]:checked + span::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000;
    margin-top: 3px;
}

.login-method-switch label:hover {
    background: #eaeaea;
}

@media (max-width: 480px) {
    .login-container {
        padding: 2rem;
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .logo {
        width: 140px;
    }
    
    h2 {
        font-size: 1.6rem;
    }
}
