* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
  font-family: var(--theme-font-family);
}

body {
    background: var(--theme-primary-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: var(--theme-background-color);
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--theme-secondary-color);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.logo {
    margin-bottom: 10px;
    text-align: center;
    max-width: 100%;
    margin: 10px auto;
    padding: 10px;
    background: var(--theme-primary-color);
    border-radius: 10px;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.subtitle {
    color: var(--theme-text-color);
    margin-bottom: 30px;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #e53e3e;
}

.login-btn {
    width: 100%;
    background: var(--theme-primary-color);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 62, 62, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.error-message {
    background: #fee;
    color: #c53030;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #fecaca;
    font-size: 0.9rem;
}

.back-link {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1e1e1;
}

.back-link a {
    color: #e53e3e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: #c53030;
}

@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .logo {
        font-size: 1.8rem;
    }
} 