/* Login — Desktop & base */
*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #0a4f4a;
    background-image: url('../../img/backgroud.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #1e293b;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(10, 50, 46, 0.2);
    pointer-events: none;
    z-index: 0;
}
.login-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 24px 16px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.login-card {
    padding: 28px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
}
.login-card-logo {
    text-align: center;
    margin: 0 0 20px;
    line-height: 0;
}
.login-card form label:first-of-type {
    margin-top: 0;
}
.login-card-logo img {
    display: inline-block;
    max-width: min(200px, 100%);
    height: auto;
    object-fit: contain;
}
.login-card h1 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    color: #0f766e;
}
.login-card .subtitle {
    margin: 0 0 20px;
    font-size: 13px;
    color: #64748b;
}
.login-card label {
    display: block;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}
.login-card input[type="text"],
.login-card input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    margin-top: 6px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
}
.login-card input:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.login-card button[type="submit"] {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}
.login-card button[type="submit"]:hover {
    filter: brightness(1.05);
}
.login-card .error {
    margin-top: 14px;
    padding: 10px 12px;
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 8px;
    font-size: 13px;
    border: 1px solid #fecaca;
}
