body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #0f0f0f, #1c1c1c);
    color: #fff;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-page {
    position: relative;
    width: min(320px, 100%);
    --brand-area-height: 180px;
}

.brand-area {
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    width: min(420px, 88vw);
    height: var(--brand-area-height);
    display: grid;
    grid-template-rows: auto 1fr;
    justify-items: center;
}

.brand-logo {
    width: min(400px, 78vw);
    height: auto;
    display: block;
}

.brand-title-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-title {
    margin: 0;
    text-align: center;
    font-size: clamp(1.45rem, 4vw, 2rem);
    font-weight: 700;
    color: #f5f5f5;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
    font-family: "Futura Md", "Futura", "Poppins", "Inter", sans-serif;
}

.card {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 12px;
    width: min(320px, 100%);
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

h2 {
    margin-bottom: 20px;
    text-align: center;
}

input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    border: none;
    background: #2a2a2a;
    color: white;
}

input:focus {
    outline: 2px solid #e53935;
}

button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 6px;
    background: #e53935;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #ff4c4c;
}

.login-error {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #5c1111;
    color: #fff;
    border: 1px solid #c62828;
    font-weight: 600;
    text-align: center;
}
