/* ----------------------------------------------------
   REALIZARE LOGIN PAGE • v5.6-FINAL
   Layout isolado – 100% compatível com Realizare v3
----------------------------------------------------- */

:root {
    --bg-page: #181818;
    --bg-box: #222222;
    --text-main: #f0f0f0;
    --text-muted: #bdbdbd;
    --accent: #4a90e2;
    --accent-hover: #6aa6ff;
    --input-bg: #1c1c1c;
    --input-border: #333;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: var(--bg-page);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

/* Wrapper */
.login-wrapper {
    width: 100%;
    max-width: 420px;
}

/* Card */
.login-box {
    background: var(--bg-box);
    padding: 34px;
    border-radius: 14px;
    border: 1px solid #2e2e2e;
    box-shadow: 0 0 20px rgba(0,0,0,0.45);
}

/* Branding */
.login-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}

.login-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 6px;
    margin-bottom: 26px;
    text-align: center;
}

/* Labels */
label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

/* Inputs */
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text-main);
    font-size: 15px;
    margin-bottom: 18px;
    transition: border-color .2s;
}

input[type="email"]:focus,
input[type="password"]:focus {
    border-color: var(--accent);
    outline: none;
}

/* Linha lembrar/esqueci senha */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.login-options a {
    color: var(--accent);
    text-decoration: none;
}

.login-options a:hover {
    color: var(--accent-hover);
}

/* Botão */
.login-btn {
    width: 100%;
    background: var(--accent);
    border: none;
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s;
}

.login-btn:hover {
    background: var(--accent-hover);
}

/* Rodapé */
.login-footer {
    margin-top: 22px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 18px;
}

/* Erro */
.login-error {
    background: #b93a3a;
    padding: 10px;
    font-size: 14px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}
