/* =========================
   FCS MEMBERS PORTAL
   MAIN COLORS
   ========================= */

:root {
    --text: #B3B3B3;
    --white: #FFFFFF;

    --transparent-white: #FFFFFF2B;

    --button: #003EDCCC;
    --button-hover: #003EDC;

    --line: #FFFFFF1A;

    --light-bg: #343434;
    --extra-light-bg: #202020;

    --dark-bg: #111111;
    --extra-dark-bg: #000000;

    --accent: #003EDC;
}


/* =========================
   RESET
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    background: var(--dark-bg);
    color: var(--text);

    min-height: 100vh;
}


/* =========================
   LINKS
   ========================= */

a {
    color: var(--white);
    text-decoration: none;
}

a:hover {
    color: var(--accent);
}


/* =========================
   CONTAINER
   ========================= */

.container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding-left: 24px;
    padding-right: 24px;
}


/* =========================
   HEADER
   ========================= */

.site-header {
    background: var(--extra-dark-bg);

    border-bottom: 1px solid var(--line);

    position: sticky;
    top: 0;

    z-index: 100;
}


.header-inner {
    height: 72px;

    display: flex;

    align-items: center;
    justify-content: space-between;
}


/* =========================
   LOGO
   ========================= */

.logo {
    font-size: 26px;

    font-weight: 800;

    letter-spacing: 1px;

    color: var(--white);
}

.logo:hover {
    color: var(--accent);
}


/* =========================
   NAVIGATION
   ========================= */

.navigation {
    display: flex;

    align-items: center;

    gap: 28px;
}

.navigation a {
    color: var(--text);

    font-size: 14px;

    transition: 0.2s ease;
}

.navigation a:hover {
    color: var(--white);
}


/* =========================
   MAIN
   ========================= */

.main-content {
    min-height: calc(100vh - 140px);

    padding-top: 50px;
    padding-bottom: 50px;
}


/* =========================
   FOOTER
   ========================= */

.site-footer {
    border-top: 1px solid var(--line);

    background: var(--extra-dark-bg);

    padding: 24px 0;

    text-align: center;

    font-size: 13px;

    color: var(--text);
}


/* =========================
   FLASH MESSAGES
   ========================= */

.flash {
    padding: 14px 18px;

    margin-bottom: 20px;

    border-radius: 8px;

    background: var(--extra-light-bg);

    border: 1px solid var(--line);
}


/* =========================
   BUTTON
   ========================= */

.btn {
    display: inline-block;

    padding: 12px 22px;

    border-radius: 8px;

    border: none;

    background: var(--button);

    color: var(--white);

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}

.btn:hover {
    background: var(--button-hover);

    color: var(--white);
}


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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--white);

    font-size: 14px;

    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 12px 14px;

    background: var(--extra-light-bg);

    color: var(--white);

    border: 1px solid var(--line);

    border-radius: 8px;

    outline: none;

    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}


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

.card {
    background: var(--extra-light-bg);

    border: 1px solid var(--line);

    border-radius: 12px;

    padding: 28px;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 700px) {

    .header-inner {
        height: auto;

        padding-top: 18px;
        padding-bottom: 18px;

        flex-direction: column;

        gap: 16px;
    }

    .navigation {
        gap: 18px;
    }

    .main-content {
        padding-top: 30px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}


/* =========================
   AUTH PAGES
   ========================= */

.auth-wrapper {
    width: 100%;
    max-width: 480px;

    margin: 40px auto;
}


.auth-card {
    background: var(--extra-light-bg);

    border: 1px solid var(--line);

    border-radius: 16px;

    padding: 36px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}


.auth-header {
    text-align: center;

    margin-bottom: 30px;
}


.auth-logo {
    width: 58px;
    height: 58px;

    margin: 0 auto 18px;

    display: flex;

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

    background: var(--accent);

    color: var(--white);

    border-radius: 12px;

    font-size: 22px;
    font-weight: 800;

    letter-spacing: 1px;
}


.auth-header h1 {
    color: var(--white);

    font-size: 28px;

    margin-bottom: 10px;
}


.auth-header p {
    color: var(--text);

    font-size: 14px;

    line-height: 1.6;
}


.auth-button {
    width: 100%;

    margin-top: 6px;

    padding: 14px 20px;

    font-size: 15px;
}


.auth-footer {
    text-align: center;

    margin-top: 24px;

    padding-top: 20px;

    border-top: 1px solid var(--line);

    font-size: 14px;
}


.auth-footer a {
    color: var(--white);

    font-weight: 600;
}


.auth-footer a:hover {
    color: var(--accent);
}


/* =========================
   FORM VALIDATION
   ========================= */

.form-group input:invalid:not(:placeholder-shown) {
    border-color: var(--line);
}


.form-group input:focus {
    border-color: var(--accent);
}


/* =========================
   MOBILE AUTH
   ========================= */

@media (max-width: 520px) {

    .auth-wrapper {
        margin: 20px auto;
    }

    .auth-card {
        padding: 26px 20px;
    }

    .auth-header h1 {
        font-size: 24px;
    }
}