* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5 url('/images/background.svg') no-repeat center center fixed;
    background-size: cover;
}

.login-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

.login-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    margin: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    text-align: center;
    margin-bottom: 40px;
}

.logo img {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.logo h2 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus {
    outline: none;
    border-color: #57ccff;
    box-shadow: 0 0 0 4px rgba(87, 204, 255, 0.1);
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
    background: url('/images/eye.svg') center/contain no-repeat;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.password-toggle:hover {
    opacity: 1;
}

.form-links {
    text-align: right;
    margin-bottom: 24px;
}

.forgot-password {
    color: #2196f3;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #1976d2;
    text-decoration: underline;
}

.sign-in-btn {
    width: 100%;
    padding: 14px;
    background: #2196f3;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sign-in-btn:hover {
    background: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

.sign-in-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.create-account {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
}

.create-account span {
    color: #666;
}

.create-account a {
    color: #2196f3;
    text-decoration: none;
    margin-left: 4px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.create-account a:hover {
    color: #1976d2;
    text-decoration: underline;
}

.login-footer {
    margin-top: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.footer-links a {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: rgba(0, 0, 0, 0.8);
}

.language-selector {
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.language-selector:hover {
    color: rgba(0, 0, 0, 0.8);
}

.arrow {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.language-selector:hover .arrow {
    transform: rotate(180deg);
}

.error-message {
    background: #ffebee;
    border: 1px solid #f44336;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #c62828;
    font-size: 14px;
    text-align: center;
}

.error-message p {
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
        margin: 10px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
} 