*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    background:black;
    color:#f2f2f2;
}

a{
    color:#ffffff;
    text-decoration:none;
}


/* ==============================
   HEADER
============================== */

.header{
    min-height:72px;
    padding:18px 6%;
    display:flex;
    align-items:center;
    justify-content:space-between;

    background:#0b0b0b;

    border-bottom:1px solid rgba(255,255,255,.12);
}

.header nav{
    display:flex;
    gap:25px;
}

.header nav a{
    color:#d6d6d6;
    transition:.3s;
}

.header nav a:hover{
    color:#ffffff;
}

.brand{
    font-weight:800;
    letter-spacing:2px;
    color:#ffffff;
}

.brand span{
    color:#cfcfcf;
}


/* ==============================
   HERO
============================== */

.hero{
    min-height:65vh;

    display:grid;
    place-items:center;

    padding:70px 7%;

    background:
        black;
}

.hero>div{
    max-width:850px;
}

.eyebrow{
    letter-spacing:4px;
    color:#cfcfcf;
    font-size:12px;
    font-weight:700;
}

.hero h1{
    font-size:clamp(42px,7vw,82px);
    line-height:1;
    margin:15px 0;
    color:#ffffff;
}

.hero p{
    font-size:18px;
    color:#c8c8c8;
    line-height:1.7;
}


/* ==============================
   ACTIONS
============================== */

.actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:30px;
}

.btn{
    display:inline-block;

    border:1px solid #ffffff;

    background:#ffffff;

    color:#0b0b0b;

    padding:14px 22px;

    border-radius:4px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;
}

.btn:hover{
    background:#d6d6d6;
    border-color:#d6d6d6;
    color:#000000;
}

.btn-outline{
    background:transparent;
    color:#ffffff;
    border:1px solid #ffffff;
}

.btn-outline:hover{
    background:#ffffff;
    color:#0b0b0b;
}


/* ==============================
   CARDS
============================== */

.cards,
.stats{
    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

    padding:50px 7%;
}

.card{
    background:
        linear-gradient(
            145deg,
            #191919,
            #0f0f0f
        );

    border:1px solid #333333;

    border-radius:10px;

    padding:28px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.35);

    transition:.3s;
}

.card:hover{
    border-color:#777777;
    transform:translateY(-2px);
}

.card h2,
.card h3{
    color:#ffffff;
}

.card p{
    color:#c3c3c3;
    line-height:1.7;
}


/* ==============================
   STATS
============================== */

.stats{
    grid-template-columns:repeat(5,1fr);
}

.stats div{
    background:#171717;

    border:1px solid #333333;

    padding:24px;

    border-radius:8px;

    box-shadow:
        0 6px 20px rgba(0,0,0,.30);
}

.stats strong,
.stats span{
    display:block;
}

.stats strong{
    color:#eeeeee;
}

.stats span{
    font-size:28px;
    margin-top:10px;
    color:#ffffff;
}


/* ==============================
   FOOTER
============================== */

footer{
    text-align:center;

    padding:35px;

    color:#999999;

    background:#080808;

    border-top:1px solid rgba(255,255,255,.10);
}

footer a{
    color:#dcdcdc;
    text-decoration:none;
}

footer a:hover{
    color:#ffffff;
}


/* ==============================
   AUTH
============================== */

.auth{
    min-height:100vh;

    display:grid;

    place-items:center;

    padding:25px;

    background:
        radial-gradient(
            circle at 50% 0,
            rgba(255,255,255,.07),
            transparent 45%
        );
}

.form-card{
    width:min(440px,100%);

    background:
        linear-gradient(
            145deg,
            #181818,
            #0f0f0f
        );

    border:1px solid #353535;

    padding:30px;

    border-radius:10px;

    box-shadow:
        0 15px 45px rgba(0,0,0,.45);
}

.form-card.wide{
    width:min(720px,100%);
}


/* ==============================
   INPUTS
============================== */

input{
    width:100%;

    padding:14px;

    margin:7px 0;

    background:#151515;

    color:#ffffff;

    border:1px solid #444444;

    border-radius:5px;

    outline:none;

    transition:.3s;
}

input:focus{
    border-color:#ffffff;

    box-shadow:
        0 0 0 3px rgba(255,255,255,.08);
}

input::placeholder{
    color:#888888;
}


/* ==============================
   LABEL
============================== */

label{
    display:block;

    color:#d0d0d0;

    margin:14px 0;

    font-weight:600;
}


/* ==============================
   FORM GRID
============================== */

.grid{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:8px;
}


/* ==============================
   FORM BUTTON
============================== */

.form-card .btn{
    width:100%;

    margin-top:12px;
}


/* ==============================
   ERROR
============================== */

.error{
    background:#2a1818;

    border:1px solid #704444;

    color:#ffbdbd;

    padding:12px;

    border-radius:5px;

    margin-bottom:12px;
}


/* ==============================
   DASHBOARD
============================== */

.dashboard{
    padding:55px 7%;

    min-height:80vh;
}

.dashboard .stats{
    padding:30px 0;
}

.dashboard .card{
    margin-top:25px;
}


/* ==============================
   TABLE / GENERAL DARK THEME
============================== */

table{
    width:100%;
    border-collapse:collapse;
    background:#111111;
}

th{
    background:#ffffff;
    color:#000000;
    padding:13px;
    text-align:left;
}

td{
    padding:13px;
    color:#d5d5d5;
    border-bottom:1px solid rgba(255,255,255,.10);
}

tr:hover td{
    background:#181818;
}


/* ==============================
   SELECT
============================== */

select{
    width:100%;

    padding:14px;

    background:#151515;

    color:#ffffff;

    border:1px solid #444444;

    border-radius:5px;

    outline:none;
}

select:focus{
    border-color:#ffffff;
}


/* ==============================
   TEXTAREA
============================== */

textarea{
    width:100%;

    padding:14px;

    background:#151515;

    color:#ffffff;

    border:1px solid #444444;

    border-radius:5px;

    outline:none;

    resize:vertical;
}

textarea:focus{
    border-color:#ffffff;
}


/* ==============================
   LINKS
============================== */

.form-card a,
.card a{
    color:#ffffff;
    font-weight:600;
}

.form-card a:hover,
.card a:hover{
    color:#d0d0d0;
    text-decoration:underline;
}


/* ==============================
   MOBILE
============================== */

@media(max-width:800px){

    .stats{
        grid-template-columns:1fr 1fr;
    }

    .cards{
        grid-template-columns:1fr;
    }

    .grid{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:48px;
    }

}


/* ==============================
   SMALL MOBILE
============================== */

@media(max-width:500px){

    .header{
        padding:16px 5%;
    }

    .header nav{
        display:none;
    }

    .stats{
        grid-template-columns:1fr;
    }

    .hero{
        padding:55px 5%;
    }

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:16px;
    }

    .form-card{
        padding:22px;
    }

    .cards,
    .stats{
        padding-left:5%;
        padding-right:5%;
    }

    table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
    }

}