
/* =========================================================
   UNIVERSAL
   ========================================================= */

/* -------------------------
   RESET
   ------------------------- */

* {
    box-sizing: border-box;
}

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

body {
    min-height: 100vh;

    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: #101217;
}


/* -------------------------
   THEME VARIABLES
   ------------------------- */

:root {
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.65);

    --border: rgba(255, 255, 255, 0.14);

    --accent: #786cff;
    --accent-hover: #897fff;

    --radius-small: 9px;
    --radius-medium: 12px;
    --radius-large: 16px;
}


/* -------------------------
   HEADINGS
   ------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;

    color: var(--text);

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.25);
}


/* -------------------------
   LINKS
   ------------------------- */

a {
    color: var(--text);

    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* -------------------------
   FORM
   ------------------------- */

.field {
    margin-bottom: 18px;
}

label {
    display: block;

    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;
    font-weight: 600;
}

input {
    width: 100%;
    height: 46px;

    padding: 0 14px;

    outline: none;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-small);

    background: rgba(0, 0, 0, 0.24);

    color: var(--text);

    font-size: 15px;

    box-shadow:
        inset 0 1px 1px rgba(0, 0, 0, 0.12);

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

input:hover {
    background: rgba(0, 0, 0, 0.30);

    border-color:
        rgba(255, 255, 255, 0.20);
}

input:focus {
    background: rgba(0, 0, 0, 0.34);

    border-color:
        rgba(255, 255, 255, 0.35);

    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.07),
        inset 0 1px 1px rgba(0, 0, 0, 0.12);
}


/* -------------------------
   BUTTON
   ------------------------- */

button {
    font-family: inherit;

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

    text-decoration: none;
}

.button {
    width: 100%;
    height: 46px;

    margin-top: 8px;

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

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-small);

    background: rgba(255, 255, 255, 0.15);

    color: var(--text);

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.18);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        background 0.15s ease,
        transform 0.05s ease,
        box-shadow 0.15s ease;
}

.button:hover {
    background: rgba(255, 255, 255, 0.22);

    color: var(--text);
    text-decoration: none;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 10px 25px rgba(0, 0, 0, 0.24);
}

.button:active {
    transform: translateY(1px);
}
