/* ==========================================================
   TickByTickData
   COMMON APPLICATION THEME

   Used by:
   - Login
   - Create Account
   - Forgot Password
   - Dashboard

   Dashboard-specific rules are in dashboard.css
========================================================== */


/* ==========================================================
   VARIABLES
========================================================== */

:root {

    --bg: #080c12;

    --panel: #0d131b;

    --panel-2: #111923;

    --panel-hover: #151f2b;

    --input-bg: #0a1017;

    --border: #202b38;

    --border-light: #2b3949;

    --text: #e7edf3;

    --text-soft: #c8d2dc;

    --muted: #8290a0;

    --accent: #f5c84c;

    --blue: #2384ff;

    --blue-hover: #1a6dd8;

    --green: #22c55e;

    --red: #ef4444;

    --radius: 7px;

}


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

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


html {
    min-height: 100%;
}


body {

    min-height: 100vh;

    margin: 0;

    font-family:
        "Segoe UI",
        Inter,
        Arial,
        sans-serif;

    background: var(--bg);

    color: var(--text);

    font-size: 13px;

    line-height: 1.4;

}


/* ==========================================================
   TEXT
========================================================== */

h1,
h2,
h3 {

    margin: 0;

    color: var(--text);

    font-weight: 650;

    letter-spacing: .1px;

}


p {
    margin: 0;
}


a {

    color: var(--blue);

    text-decoration: none;

}


a:hover {
    text-decoration: underline;
}


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

button,
.btn {

    width: auto;

    min-width: 0;

    height: 34px;

    padding: 0 13px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

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

    border-radius: 6px;

    background: #172231;

    color: #dce5ee;

    font-family: inherit;

    font-size: 12px;

    font-weight: 600;

    line-height: 1;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background .15s ease,
        border-color .15s ease,
        transform .1s ease,
        color .15s ease;

}


button:hover,
.btn:hover {

    background: #1d2a39;

    border-color: #3a4a5d;

    color: #ffffff;

}


button:active,
.btn:active {

    transform: translateY(1px);

}


button:disabled,
.btn:disabled {

    opacity: .55;

    cursor: not-allowed;

}


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

.btn-primary {

    background: var(--blue);

    border-color: var(--blue);

    color: #ffffff;

}


.btn-primary:hover {

    background: var(--blue-hover);

    border-color: var(--blue-hover);

    color: #ffffff;

}


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

.btn-secondary {

    background: #172231;

    border-color: var(--border-light);

    color: #dce5ee;

}


.btn-secondary:hover {

    background: #1d2a39;

    border-color: #3a4a5d;

}


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

.btn-small {

    height: 30px;

    padding: 0 10px;

    font-size: 11px;

}


/* ==========================================================
   INPUTS
========================================================== */

input,
select,
textarea {

    font-family: inherit;

}


input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"] {

    height: 34px;

    width: 100%;

    padding: 0 10px;

    background: var(--input-bg);

    color: var(--text);

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

    border-radius: 6px;

    outline: none;

    font-size: 12px;

}


input:focus,
select:focus,
textarea:focus {

    border-color: #49617b;

    outline: none;

}


input::placeholder {

    color: #667484;

}


/* ==========================================================
   SELECT
========================================================== */

select {

    height: 34px;

    padding: 0 30px 0 10px;

    background-color: var(--input-bg);

    color: var(--text);

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

    border-radius: 6px;

    font-size: 12px;

    outline: none;

    cursor: pointer;

}


select option {

    background: #111923;

    color: #e7edf3;

}


select optgroup {

    background: #111923;

    color: var(--muted);

}


/* ==========================================================
   CARDS
========================================================== */

.card {

    background: var(--panel);

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

    border-radius: var(--radius);

}


/* ==========================================================
   AUTH / LOGIN / CREATE / FORGOT
========================================================== */

/* ==========================================================
   AUTH PAGES
   Login
   Create User
   Forgot Password
   Verify
========================================================== */

.auth-container {

    width: calc(100% - 32px);

    max-width: 555px;

    margin: 8vh auto;

    padding: 34px 38px 30px;

    background: var(--panel);

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

    border-radius: 8px;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, .35);

}


/* ==========================================================
   BRAND
========================================================== */

.auth-brand {

    text-align: center;

    margin-bottom: 30px;

}


.auth-brand h1 {

    margin: 0;

    color: #ffffff;

    font-size: 34px;

    font-weight: 700;

    letter-spacing: -.6px;

}


.auth-subtitle {

    margin-top: 10px;

    color: #ffffff;

    font-size: 17px;

    font-weight: 600;

}


/* ==========================================================
   PAGE TITLE
========================================================== */

.auth-container > h2 {

    margin: 0 0 24px;

    color: #ffffff;

    font-size: 22px;

    font-weight: 650;

    text-align: left;

}


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

.auth-form {

    width: 100%;

}


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

.form-row {

    display: grid;

    grid-template-columns: 95px minmax(0, 1fr);

    align-items: center;

    column-gap: 14px;

    margin-bottom: 16px;

}


.form-row label {

    margin: 0;

    color: var(--text-soft);

    font-size: 13px;

    font-weight: 600;

    text-transform: none;

    letter-spacing: 0;

}


.form-row input {

    width: 100%;

    height: 38px;

    padding: 0 11px;

    background: var(--input-bg);

    color: var(--text);

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

    border-radius: 6px;

    outline: none;

    font-size: 13px;

}


.form-row input:focus {

    border-color: var(--blue);

    box-shadow:
        0 0 0 2px rgba(35, 132, 255, .12);

}


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

.auth-button-row {

    display: flex;

    justify-content: center;

    margin-top: 6px;

    margin-bottom: 20px;

}


.auth-button-row .btn {

    width: auto;

    min-width: 110px;

    height: 36px;

}


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

.auth-links {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 28px;

    margin-top: 4px;

}


.auth-links a {

    color: var(--blue);

    font-size: 13px;

    font-weight: 500;

}


.auth-links a:hover {

    color: #5da5ff;

    text-decoration: underline;

}


/* ==========================================================
   SUPPORT
========================================================== */

.support-note {

    margin-top: 10px;

    color: var(--muted);

    text-align: center;

    font-size: 12px;

}


.support-note a {

    color: var(--blue);

}


.support-note a:hover {

    text-decoration: underline;

}


/* ==========================================================
   ERROR
========================================================== */

.error {

    margin-bottom: 16px;

    padding: 9px 11px;

    background: rgba(239, 68, 68, .08);

    border: 1px solid rgba(239, 68, 68, .25);

    border-radius: 6px;

    color: var(--red);

    font-size: 12px;

}


/* ==========================================================
   TOKEN
========================================================== */

.token {

    margin-top: 20px;

    padding: 12px;

    background: var(--panel-2);

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

    border-radius: 6px;

    color: var(--text-soft);

    text-align: center;

}


.token p {

    margin-top: 5px;

    color: var(--muted);

    font-size: 12px;

}


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

@media (max-width: 600px) {

    .auth-container {

        width: calc(100% - 24px);

        margin: 5vh auto;

        padding: 26px 22px;

    }


    .auth-brand h1 {

        font-size: 28px;

    }


    .auth-subtitle {

        font-size: 15px;

    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 6px;

    }


    .form-row label {

        font-size: 12px;

    }


    .auth-links {

        gap: 18px;

        flex-wrap: wrap;

    }

}
/* ==========================================================
   GENERIC CONTAINER
========================================================== */

.container {

    width: calc(100% - 32px);

    max-width: 900px;

    margin: 25px auto;

    padding: 22px;

    background: var(--panel);

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

    border-radius: var(--radius);

}


/* ==========================================================
   TABLE BASE
========================================================== */

table {

    width: 100%;

    border-collapse: separate;

    border-spacing: 0;

}


thead {

    background: #111923;

}


th {

    padding: 10px 12px;

    color: #8290a0;

    font-size: 11px;

    font-weight: 650;

    text-transform: uppercase;

    letter-spacing: .5px;

    text-align: center;

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

}


td {

    padding: 10px 12px;

    color: #dce4ec;

    text-align: center;

    border-bottom: 1px solid #18212c;

}


tbody tr {

    background: var(--panel);

}


tbody tr:hover {

    background: var(--panel-hover);

}


tbody tr:last-child td {

    border-bottom: none;

}


/* ==========================================================
   STATUS COLORS
========================================================== */

.text-green {
    color: var(--green);
}


.text-red {
    color: var(--red);
}


.text-muted {
    color: var(--muted);
}


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

@media (max-width: 700px) {

    .login-container,
    .auth-container {

        margin: 5vh auto;

        padding: 22px;

    }

    .container {

        padding: 16px;

    }

}
/* ==========================================================
   GOOGLE LOGIN
========================================================== */

/* ==========================================================
   GOOGLE LOGIN
========================================================== */

.google-login-btn {

    width: 100%;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

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

    border-radius: 6px;

    background: var(--blue);

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    font-family: inherit;

    cursor: pointer;

    transition:
        background .15s ease,
        border-color .15s ease,
        transform .1s ease,
        box-shadow .15s ease;
}


.google-login-btn:hover {

    background: var(--blue-hover);

    border-color: var(--blue-hover);

    color: #ffffff;

    box-shadow:
        0 3px 10px rgba(35, 132, 255, .20);

}


.google-login-btn:active {

    transform: translateY(1px);

}


.google-icon {

    width: 22px;

    height: 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color: #4285f4;

    font-family: Arial, sans-serif;

    font-size: 14px;

    font-weight: 700;

}