@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
    --bg-gradient: linear-gradient(135deg, #fdf2f4 0%, #fae4e8 40%, #f7d2d8 100%);
    --card-bg: #ffffff;
    --text-primary: #3d231d;
    --text-muted: #8d6b63;
    --border-color: #f3d7dc;
    --pink-primary: #ee7289;
    --pink-hover: #e05c74;
    --pink-light: #ffebee;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg-gradient);
    color: var(--text-primary);
    font-family: 'Nunito', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login {
    width: min(100%, 380px);
    background: var(--card-bg);
    padding: 38px 30px;
    border-radius: 26px;
    box-shadow: 0 16px 40px rgba(238, 114, 137, 0.16), 0 2px 10px rgba(61, 35, 29, 0.04);
    border: 2px solid #ffffff;
    text-align: center;
}

.login-logo {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: cover;
    margin: 0 auto 16px;
    border-radius: 22px;
    box-shadow: 0 8px 20px rgba(238, 114, 137, 0.22);
    border: 3px solid #ffffff;
}

.login h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 24px 0;
}

.login input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    background: #fdf8f9;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s ease;
}

.login input:focus {
    outline: none;
    border-color: var(--pink-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(238, 114, 137, 0.2);
}

.login button {
    width: 100%;
    padding: 14px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #f58498 0%, #ee7289 100%);
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(238, 114, 137, 0.35);
    transition: all 0.18s ease;
}

.login button:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(238, 114, 137, 0.45);
}

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

.error {
    background: var(--pink-light);
    color: #c62828;
    border: 1px solid #ffcdd2;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}
