/* Reset hasla konta admina - resources/views/auth/forgot-password.blade.php
   Tlo celowo JASNE, tak jak /login i /register. Jasne tlo = wejscie do
   panelu firmy, ciemny granat = wejscie do rejestratora RCP (/wejscie).
   Rozroznienie ma od razu komunikowac uzytkownikowi, gdzie jest. */

:root {
    --f-accent: #0f7c8a;
    --f-accent-hover: #0c6a76;
    --f-title: #1d2f3c;
    --f-muted: #5c7383;
    --f-divider: #eef1f5;
    --f-input-border: #e2e8f0;
    --f-bg: #eef3f7;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    padding: 32px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* tlo zostaje takie jak bylo */
    background: radial-gradient(900px 300px at 50% -200px, rgba(12, 172, 188, 0.25), transparent), var(--f-bg);
    color: var(--f-title);
    font-family: "Inter", "Segoe UI", system-ui, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.auth-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: min(500px, 100%);
}

/* ---------- logo nad karta ---------- */

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--f-title);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.auth-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

/* ---------- karta ---------- */

.card {
    width: 100%;
    background: #fff;
    border: 1px solid #e6ebef;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    padding: 26px;
}

.head {
    margin-bottom: 22px;
}

.head .auth-eyebrow {
    margin: 0 0 6px;
    color: var(--f-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.head h1 {
    margin: 0;
    color: var(--f-title);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.head p {
    margin: 8px 0 0;
    color: var(--f-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* ---------- formularz ---------- */

form {
    display: block;
}

label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

input {
    width: 100%;
    min-width: 0;
    height: 44px;
    margin-bottom: 20px;
    padding: 0 13px;
    border: 1px solid var(--f-input-border);
    border-radius: 10px;
    background: #fff;
    color: var(--f-title);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder {
    color: #a3aeba;
}

input:focus {
    border-color: var(--f-accent);
    box-shadow: 0 0 0 3px rgba(15, 124, 138, 0.14);
}

.btn {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: var(--f-accent);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn:hover {
    background: var(--f-accent-hover);
}

.btn:focus-visible {
    outline: 2px solid var(--f-accent);
    outline-offset: 2px;
}

/* ---------- linki ---------- */

.row {
    margin-top: 16px;
    text-align: center;
    color: var(--f-muted);
    font-size: 14px;
}

.row a {
    color: var(--f-accent);
    font-weight: 600;
    text-decoration: none;
}

.row a:hover {
    text-decoration: underline;
}

/* ---------- komunikaty ---------- */

.status,
.errors {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.status {
    border: 1px solid #bfe3de;
    background: #eef8f7;
    color: #0f6b63;
}

.errors {
    border: 1px solid #f2c9d2;
    background: #fdf2f4;
    color: #a83250;
}

.errors ul {
    margin: 0;
    padding-left: 18px;
}

@media (max-width: 480px) {
    body {
        padding: 20px 14px;
    }

    .card {
        padding: 20px;
    }
}
