/* ==========================================================
   SMARTLOCAL-AI
   File: public/assets/css/staff-registration.css
   Version: 1.0.0
   Date: 2026-08-08
   Author: Andrew Mallia
========================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;
    color: #17384b;
    background:
        linear-gradient(
            135deg,
            #eef6f7 0%,
            #f7fafb 55%,
            #eef3f5 100%
        );
}


/* ==========================================================
   Shell
========================================================== */

.staff-registration-body {
    min-height: 100vh;
}

.staff-registration-shell {
    display: grid;
    grid-template-columns:
        minmax(300px, 0.85fr)
        minmax(560px, 1.35fr);
    min-height: 100vh;
}


/* ==========================================================
   Brand Panel
========================================================== */

.staff-registration-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px;
    color: #ffffff;
    background:
        linear-gradient(
            160deg,
            #102f45 0%,
            #0d3e54 52%,
            #008c95 130%
        );
}

.staff-registration-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 18px;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.staff-registration-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #69d4d8;
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.staff-registration-brand h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.15rem);
    line-height: 1.06;
}

.staff-registration-brand > p {
    max-width: 520px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
}

.staff-registration-security-note {
    margin-top: 34px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
}

.staff-registration-security-note strong {
    display: block;
    margin-bottom: 7px;
    color: #ffffff;
    font-size: 0.92rem;
}

.staff-registration-security-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
    line-height: 1.6;
}


/* ==========================================================
   Registration Panel
========================================================== */

.staff-registration-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px clamp(28px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.staff-registration-header {
    margin-bottom: 24px;
}

.staff-registration-header h2,
.staff-registration-success h2 {
    margin: 0;
    color: #102f45;
    font-size: clamp(1.6rem, 3vw, 2rem);
}

.staff-registration-header p,
.staff-registration-success > p {
    margin: 9px 0 0;
    color: #677d88;
    line-height: 1.6;
}


/* ==========================================================
   Alert
========================================================== */

.staff-registration-alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid #efb4b4;
    border-radius: 11px;
    color: #991b1b;
    font-size: 0.84rem;
    font-weight: 750;
    background: #fff1f1;
}


/* ==========================================================
   Form
========================================================== */

.staff-registration-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.staff-registration-form fieldset {
    margin: 0;
    padding: 20px;
    border: 1px solid #dce6ea;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 35, 50, 0.045);
}

.staff-registration-form legend {
    padding: 0 7px;
    color: #17384b;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.staff-registration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.staff-registration-field {
    min-width: 0;
}

.staff-registration-field label {
    display: block;
    margin-bottom: 7px;
    color: #334e5c;
    font-size: 0.78rem;
    font-weight: 850;
}

.staff-registration-field input,
.staff-registration-field select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cad8de;
    border-radius: 10px;
    color: #17384b;
    font: inherit;
    background: #ffffff;
    outline: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.staff-registration-field input::placeholder {
    color: #9aabb3;
}

.staff-registration-field input:focus,
.staff-registration-field select:focus {
    border-color: #008c95;
    box-shadow: 0 0 0 3px rgba(0, 140, 149, 0.12);
}

.staff-registration-field small {
    display: block;
    margin-top: 6px;
    color: #7a8e98;
    font-size: 0.7rem;
    line-height: 1.45;
}


/* ==========================================================
   Declaration
========================================================== */

.staff-registration-declaration {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px 17px;
    border: 1px solid #d9e4e8;
    border-radius: 12px;
    color: #536b78;
    font-size: 0.82rem;
    line-height: 1.5;
    background: #f9fbfc;
}

.staff-registration-declaration input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 2px;
}


/* ==========================================================
   Actions
========================================================== */

.staff-registration-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.staff-registration-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 17px;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    background: #008c95;
    box-shadow: 0 9px 22px rgba(0, 140, 149, 0.18);
    transition:
        background 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.staff-registration-primary-action:hover {
    color: #ffffff;
    background: #00757d;
    box-shadow: 0 12px 26px rgba(0, 140, 149, 0.24);
    transform: translateY(-1px);
}

.staff-registration-secondary-action {
    color: #58717d;
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
}

.staff-registration-secondary-action:hover {
    color: #102f45;
    text-decoration: underline;
}


/* ==========================================================
   Success State
========================================================== */

.staff-registration-success {
    max-width: 720px;
}

.staff-registration-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 15px;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 900;
    background: #0b8f6a;
    box-shadow: 0 10px 24px rgba(11, 143, 106, 0.18);
}

.staff-registration-summary {
    display: grid;
    grid-template-columns: repeat(
        3,
        minmax(0, 1fr)
    );
    gap: 12px;
    margin: 24px 0;
}

.staff-registration-summary > div {
    padding: 15px;
    border: 1px solid #dce6ea;
    border-radius: 12px;
    background: #ffffff;
}

.staff-registration-summary span {
    display: block;
    margin-bottom: 6px;
    color: #718690;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.staff-registration-summary strong {
    color: #17384b;
    font-size: 0.88rem;
}

.staff-registration-success-note {
    margin-bottom: 20px !important;
    padding: 13px 15px;
    border-left: 4px solid #008c95;
    border-radius: 8px;
    background: #eef8f8;
}


/* ==========================================================
   Responsive
========================================================== */

@media (max-width: 980px) {

    .staff-registration-shell {
        grid-template-columns: 1fr;
    }

    .staff-registration-brand {
        min-height: auto;
        padding: 38px 30px;
    }

    .staff-registration-panel {
        padding: 36px 28px;
    }
}

@media (max-width: 650px) {

    .staff-registration-brand,
    .staff-registration-panel {
        padding-left: 20px;
        padding-right: 20px;
    }

    .staff-registration-grid {
        grid-template-columns: 1fr;
    }

    .staff-registration-summary {
        grid-template-columns: 1fr;
    }

    .staff-registration-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .staff-registration-primary-action {
        width: 100%;
    }

    .staff-registration-secondary-action {
        text-align: center;
    }
}