/* Login Page Styles - Maritta Design */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #efeee7;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 440px;
}

.login-card {
    background: white;
    border-radius: 2px;
    border: 1px solid #d4d3cb;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 3rem 2.5rem;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header h1 {
    font-family: 'Tenor Sans', Georgia, serif;
    font-size: 2rem;
    color: #262626;
    margin-bottom: 0.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.login-header p {
    color: #666;
    font-size: 0.95rem;
    font-weight: 400;
}

.alert {
    padding: 1rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    animation: fadeIn 0.3s ease-out;
    border-left: 3px solid;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.alert-error {
    background-color: #f8e5e5;
    color: #151515;
    border-left-color: #cf4a4a;
}

.alert-warning {
    background-color: #fcc97e;
    color: #151515;
    border-left-color: #e6a94f;
}

.alert-success {
    background-color: #e3f2e6;
    color: #151515;
    border-left-color: #a5d6aa;
}

.login-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #151515;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d4d3cb;
    border-radius: 2px;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: inherit;
    background-color: white;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #262626;
    box-shadow: 0 0 0 3px rgba(38, 38, 38, 0.1);
}

.form-group input[type="text"]::placeholder,
.form-group input[type="password"]::placeholder {
    color: #999;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: #262626;
}

.form-check label {
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
    font-weight: 400;
    font-size: 0.9rem;
    color: #666;
}

.btn-login {
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: #262626;
    color: white;
    border: 1px solid #262626;
    border-radius: 2px;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    letter-spacing: 0.02em;
}

.btn-login:hover {
    background: #151515;
    border-color: #151515;
}

.btn-login:active {
    transform: scale(0.98);
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #d4d3cb;
}

.login-footer p {
    color: #999;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 2rem 1.5rem;
    }

    .login-header h1 {
        font-size: 1.75rem;
    }
}

/* Loading state */
.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Security indicator */
input[type="password"]::-ms-reveal {
    display: none;
}
