/* =========================================================
   PLOCAL — BUSINESS PORTAL AUTHENTICATION STYLES
   Uses :root theme variables from style.css
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800&display=swap');

:root {
    /* Typography from style.css */
    --body-font: "Inter", sans-serif;
    --heading-font: "Montserrat", sans-serif;
    --heading-weight: 700;
    --heading-line-height: 1.2;
    --heading-letter-spacing: -0.02em;

    /* Brand Colors from style.css */
    --theme-color: #24BDC7;
    --theme-color2: #0C2C7A;
    --theme-color-light: #D9F5F7;
    --theme-bg-light: rgba(36, 189, 199, 0.09);

    /* Text Colors from style.css */
    --body-text-color: #667085;
    --color-white: #FFFFFF;
    --color-dark: #081D4D;

    /* Supporting Colors from style.css */
    --color-green: #24BDC7;
    --color-blue: #0C2C7A;
    --color-skyblue: #62D3DA;
    --color-yellow: #F4C95D;
    --color-gold: #F1B501;
    --color-gray: #EEF2F7;
    --color-red: #E25555;

    /* Backgrounds and Overlays from style.css */
    --hero-overlay-color: rgba(5, 20, 58, 0.82);
    --footer-bg: #071C4A;
    --footer-text-color: #EAF9FA;

    /* Shadows from style.css */
    --box-shadow: 0 12px 40px rgba(12, 44, 122, 0.08);
    --box-shadow2: 0 10px 30px rgba(8, 29, 77, 0.16);

    /* Transitions from style.css */
    --transition: all 0.5s ease-in-out;
    --transition2: all 0.3s ease-in-out;

    /* Borders from style.css */
    --border-info-color: rgba(12, 44, 122, 0.10);
    --border-info-color2: rgba(12, 44, 122, 0.06);
    --border-white-color: rgba(255, 255, 255, 0.14);
}

color-scheme: light;

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 1.5rem 1rem;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(circle at 10% 15%, rgba(36, 189, 199, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 85%, rgba(98, 211, 218, 0.12) 0%, transparent 45%),
        linear-gradient(135deg, var(--color-dark) 0%, var(--theme-color2) 60%, #061840 100%);

    color: var(--body-text-color);
    font-family: var(--body-font);
    font-size: 0.95rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* =========================================================
   AUTH CARD
   ========================================================= */

.auth-card {
    position: relative;
    overflow: hidden;

    width: 100%;
    max-width: 440px;

    padding: clamp(2rem, 5vw, 2.75rem);

    border: 1px solid var(--border-white-color);
    border-radius: 20px;

    background: var(--color-white);

    box-shadow:
        var(--box-shadow2),
        0 24px 64px rgba(8, 29, 77, 0.28);
}

.auth-card form { width: 100%; max-width: 100%; }
.auth-card { overflow-x: hidden; }

.auth-card::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 5px;

    content: "";

    background: linear-gradient(90deg, var(--theme-color), var(--color-skyblue));
}

/* =========================================================
   BRAND & HEADINGS
   ========================================================= */

.brand {
    display: inline-flex;
    align-items: center;

    margin: 0 0 1.25rem 0;
    padding: 0.35rem 0.85rem;

    border: 1px solid rgba(36, 189, 199, 0.3);
    border-radius: 999px;

    background: var(--theme-color-light);

    color: var(--theme-color2);

    font-family: var(--body-font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 0.5rem 0;

    color: var(--theme-color2);

    font-family: var(--heading-font);
    font-size: 1.75rem;
    font-weight: var(--heading-weight);
    line-height: var(--heading-line-height);
    letter-spacing: var(--heading-letter-spacing);
}

.auth-card > p {
    margin: 0 0 1.5rem 0;

    color: var(--body-text-color);

    font-size: 0.9rem;
}

/* =========================================================
   FORM CONTROLS
   ========================================================= */

form {
    margin-top: 1rem;
}

label {
    display: block;

    margin-top: 1.15rem;
    margin-bottom: 0.4rem;

    color: var(--color-dark);

    font-family: var(--body-font);
    font-size: 0.85rem;
    font-weight: 600;
}

label:first-of-type {
    margin-top: 0;
}

input {
    width: 100%;

    padding: 0.75rem 1rem;

    border: 1.5px solid rgba(12, 44, 122, 0.16);
    border-radius: 10px;

    background: var(--color-white);

    color: var(--color-dark);

    font-family: var(--body-font);
    font-size: 0.95rem;

    transition: var(--transition2);
}

input::placeholder {
    color: #98A2B3;
}

input[readonly] {
    border-color: var(--border-info-color2);

    background: var(--color-gray);

    color: var(--body-text-color);
}

input:focus {
    border-color: var(--theme-color);

    box-shadow: 0 0 0 4px var(--theme-bg-light);

    outline: none;
}

/* =========================================================
   BUTTONS
   ========================================================= */

button,
.text-button {
    width: 100%;

    margin-top: 1.75rem;
    padding: 0.85rem 1.5rem;

    border: none;
    border-radius: 10px;

    background: linear-gradient(135deg, var(--theme-color) 0%, #1daebb 100%);

    color: var(--color-white);

    font-family: var(--heading-font);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;

    box-shadow: 0 8px 24px rgba(36, 189, 199, 0.32);

    cursor: pointer;

    transition: var(--transition2);
}

button:hover,
.text-button:hover {
    background: linear-gradient(135deg, var(--theme-color2) 0%, var(--color-dark) 100%);

    box-shadow: 0 10px 28px rgba(12, 44, 122, 0.35);

    transform: translateY(-2px);
}

button:focus,
.text-button:focus {
    box-shadow: 0 0 0 4px var(--theme-bg-light);

    outline: none;
}

button:active,
.text-button:active {
    transform: translateY(0);
}

/* =========================================================
   MESSAGES & ALERTS
   ========================================================= */

.error {
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;

    border-left: 4px solid var(--color-red);
    border-radius: 8px;

    background: rgba(226, 85, 85, 0.08);

    color: #B42318;

    font-size: 0.875rem;
    font-weight: 500;
}

.notice,
.status {
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;

    border-left: 4px solid var(--theme-color);
    border-radius: 8px;

    background: var(--theme-color-light);

    color: var(--theme-color2);

    font-size: 0.875rem;
    font-weight: 500;
}

.status {
    border-left-color: var(--color-green);
}

/* =========================================================
   FOOTER LINKS & LISTS
   ========================================================= */

.links {
    margin-top: 1.5rem;
    margin-bottom: 0;

    text-align: center;

    font-size: 0.875rem;
}

.links a {
    color: var(--theme-color2);
    font-weight: 600;

    text-decoration: none;

    transition: var(--transition2);
}

.links a:hover {
    color: var(--theme-color);

    text-decoration: underline;
}

.business-list {
    margin: 1.25rem 0;
    padding: 0;

    list-style: none;
}

.business-list li {
    padding: 0.75rem 0;

    border-bottom: 1px solid var(--border-info-color);

    color: var(--color-dark);

    font-weight: 500;
}
/* Password visibility control */
.password-field{position:relative;display:block;width:100%;max-width:100%;margin:0;padding:0;overflow:hidden;border-radius:10px}.password-field input{display:block;width:100%;max-width:100%;box-sizing:border-box;margin-right:0;padding-right:3.25rem}.password-field .password-visibility-toggle{position:absolute;top:50%;right:.65rem;display:grid;place-items:center;width:2rem;height:2rem;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--theme-color2,#173779);cursor:pointer;transform:translateY(-50%);transition:background .2s ease,color .2s ease}.password-visibility-toggle:hover,.password-visibility-toggle:focus-visible{background:rgba(36,189,199,.14);color:var(--theme-color,#24bdc7)}.password-visibility-toggle:focus-visible{outline:2px solid currentColor;outline-offset:2px}
