/* body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.card {
    width: min(420px, 90vw);
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

label {
    display: block;
    margin: 16px 0;
}

input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    margin-top: 6px;
}

button {
    padding: 10px 16px;
    cursor: pointer;
}

.secondary {
    margin-left: 8px;
}

#status {
    margin-top: 16px;
} */

































:root {
    --orange: #f59a23;
    --orange-hover: #e98c12;

    --black: #111111;
    --dark: #222222;
    --gray: #6f6f6f;

    --white: #ffffff;
    --border: #e5e5e5;

    --soft-orange: #f3d8b8;
}


/* =========================
   RESET
   ========================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}


/* =========================
   PAGE
   ========================= */

body {
    min-height: 100vh;

    font-family: Arial, Helvetica, sans-serif;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    overflow: hidden;

    padding: 40px 20px;

    color: var(--black);

    background:
        radial-gradient(circle at 86% 15%,
            rgba(245, 154, 35, 0.08),
            transparent 25%),
        radial-gradient(circle at 10% 88%,
            rgba(0, 0, 0, 0.035),
            transparent 25%),
        linear-gradient(180deg,
            #fafafa 0%,
            #f4f4f4 100%);
}


/* =========================
   LEFT DECORATIVE ARROW
   ========================= */

body::before {
    content: "";

    position: fixed;

    left: -150px;
    top: 70px;

    width: 380px;
    height: 380px;

    background: var(--soft-orange);

    opacity: 0.55;

    clip-path: polygon(0 0,
            68% 0,
            100% 50%,
            68% 100%,
            0 100%,
            32% 50%);

    pointer-events: none;
    z-index: 0;
}


/* =========================
   RIGHT DECORATIVE CHEVRONS
   ========================= */

body::after {
    content: "";

    position: fixed;

    right: -120px;
    bottom: -70px;

    width: 520px;
    height: 520px;

    pointer-events: none;
    z-index: 0;

    opacity: 0.72;

    background:
        linear-gradient(135deg,
            transparent 42%,
            rgba(237, 213, 184, 0.95) 42%,
            rgba(237, 213, 184, 0.95) 44%,
            transparent 44%),
        linear-gradient(45deg,
            transparent 42%,
            rgba(237, 213, 184, 0.95) 42%,
            rgba(237, 213, 184, 0.95) 44%,
            transparent 44%);

    background-size: 90px 90px;
    background-position: center;
}


/* =========================
   MAIN CARD
   ========================= */

.card {
    width: min(460px, 100%);

    position: relative;
    z-index: 2;

    padding: 36px 38px 38px;

    background: rgba(255, 255, 255, 0.97);

    border: 1px solid rgba(0, 0, 0, 0.05);

    border-radius: 18px;

    text-align: center;

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.11);

    animation: cardAppear 0.4s ease;
}


/* =========================
   TOP ORANGE LINE
   ========================= */

.card::after {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    width: 76px;
    height: 4px;

    background: var(--orange);

    border-radius: 0 0 8px 8px;
}


/* =========================
   LOGO
   ========================= */

.cirrusgo-logo {
    display: block;

    width: 185px;
    height: auto;

    max-width: 70%;

    margin: 0 auto 24px;

    object-fit: contain;
}


/* =========================
   TITLE
   ========================= */

h1 {
    margin: 0 0 10px;

    font-size: 28px;
    line-height: 1.2;

    font-weight: 700;

    letter-spacing: -0.5px;

    color: var(--black);
}


/* =========================
   LOGIN TEXT
   ========================= */

#auth-section>p {
    max-width: 330px;

    margin: 0 auto 26px;

    color: var(--gray);

    font-size: 14px;
    line-height: 1.6;
}


/* =========================
   USER INFO
   ========================= */

#user-info {
    margin: 0 0 24px;

    padding: 11px 14px;

    background: rgba(245, 154, 35, 0.08);

    border: 1px solid rgba(245, 154, 35, 0.2);

    border-radius: 9px;

    color: #705022;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;

    word-break: break-word;
}


/* =========================
   FORM
   ========================= */

label {
    display: block;

    margin: 0 0 18px;

    text-align: left;

    color: #333333;

    font-size: 13px;
    font-weight: 600;
}


input {
    width: 100%;

    margin-top: 7px;

    padding: 13px 14px;

    border: 1px solid var(--border);

    border-radius: 9px;

    outline: none;

    background: #fafafa;

    color: var(--black);

    font-family: inherit;
    font-size: 14px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}


input:hover {
    border-color: #cccccc;
}


input:focus {
    background: #ffffff;

    border-color: var(--orange);

    box-shadow:
        0 0 0 4px rgba(245, 154, 35, 0.10);
}


/* =========================
   BUTTONS
   ========================= */

button {
    border: none;
    outline: none;

    padding: 13px 22px;

    border-radius: 9px;

    font-family: inherit;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}


/* =========================
   PRIMARY BUTTONS
   ========================= */

#login-btn,
#connect-btn {
    background: var(--orange);

    color: #111111;

    box-shadow:
        0 8px 20px rgba(245, 154, 35, 0.20);
}


#login-btn {
    width: 100%;
}


#connect-btn {
    min-width: 150px;
}


#login-btn:hover,
#connect-btn:hover {
    background: var(--orange-hover);

    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(245, 154, 35, 0.28);
}


#login-btn:active,
#connect-btn:active {
    transform: translateY(0);
}


/* =========================
   SECONDARY BUTTON
   ========================= */

.secondary {
    margin-left: 8px;

    background: var(--black);

    color: var(--white);
}


.secondary:hover {
    background: #2b2b2b;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.16);
}


/* =========================
   STATUS
   ========================= */

#status {
    margin: 20px 0 0;

    padding-top: 16px;

    border-top: 1px solid #eeeeee;

    color: #555555;

    font-size: 13px;
    line-height: 1.5;
}


#status:empty {
    display: none;
}


/* =========================
   HIDDEN
   ========================= */

[hidden] {
    display: none !important;
}


/* =========================
   ANIMATION
   ========================= */

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 900px) {
    body::before {
        left: -210px;
        top: 80px;

        width: 340px;
        height: 340px;
    }

    body::after {
        right: -220px;
        bottom: -110px;

        width: 470px;
        height: 470px;
    }
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 520px) {
    body {
        padding: 24px 16px;

        overflow-y: auto;
    }

    body::before {
        left: -220px;
        top: 70px;

        width: 310px;
        height: 310px;

        opacity: 0.35;
    }

    body::after {
        right: -270px;
        bottom: -120px;

        width: 430px;
        height: 430px;

        opacity: 0.45;
    }

    .card {
        padding: 30px 22px 28px;

        border-radius: 16px;
    }

    .cirrusgo-logo {
        width: 155px;

        margin-bottom: 20px;
    }

    h1 {
        font-size: 24px;
    }

    #connect-btn,
    .secondary {
        width: 100%;
    }

    .secondary {
        margin: 10px 0 0;
    }
}