@charset "utf-8";

/* =========================================
   Login (login.html) Specific Styles
   ========================================= */

* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.page-footer {
    position: static;
    width: 100%;
    margin-top: 20px;
}

.page-footer .container {
    justify-content: center !important;
    /* Force center for login page */
    font-size: 12px;
    color: #888;
}

.page-footer .footer-left,
.page-footer .footer-right {
    margin: 0 5px;
    /* Add spacing between elements if they wrap or are side-by-side */
}

.login-container {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 34px 28px;
    border-radius: 14px;
    box-shadow: none;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}

h1 {
    font-size: 20px;
    margin: 0 0 18px 0;
    letter-spacing: -0.02em;
    color: var(--text);
}

input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    background: #ffffff;
    color: var(--text);
    outline: none;
}

input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-sizing: border-box;
    margin-bottom: 14px;
    font-size: 15px;
    background: #ffffff;
    color: var(--text);
    outline: none;
}

input[type="password"]::placeholder,
input[type="text"]::placeholder {
    color: rgba(71, 85, 105, 0.55);
}

input[type="password"]:focus,
input[type="text"]:focus {
    border-color: rgba(22, 163, 74, 0.45);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

button {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
}

button:hover {
    filter: brightness(0.95);
}

.error {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 10px;
    padding: 10px 12px;
    margin: 14px 0 0 0;
    font-size: 13px;
}