/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

font-family:'Inter',sans-serif;
background:#050505;
color:#fff;
min-height:100vh;
overflow-y:auto;
overflow-x:hidden;
position:relative;

}
.login-page{
    display:flex;
    justify-content:center;
    align-items:center;
}

.client-page{
    display:block;
}
.login-page{
    display:flex;
    justify-content:center;
    align-items:center;
}
body.dashboard{

    display:block;

}

/* ===========================
   BACKGROUND
=========================== */

#background{

    position:fixed;

    inset:0;

    background:
        radial-gradient(circle at top,#00ff8855 0%,transparent 40%),
        radial-gradient(circle at bottom,#00aa5533 0%,transparent 45%),
        #050505;

    z-index:-3;

}

#background::before{

    content:"";

    position:absolute;

    inset:0;

    background-image:

    linear-gradient(rgba(0,255,136,.05) 1px, transparent 1px),

    linear-gradient(90deg, rgba(0,255,136,.05) 1px, transparent 1px);

    background-size:40px 40px;

}

/* ===========================
   LOADER
=========================== */

#loader{

    position:fixed;

    inset:0;

    background:#000;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.loader-circle{

    width:80px;

    height:80px;

    border:5px solid #111;

    border-top:5px solid #00ff88;

    border-radius:50%;

    animation:spin .8s linear infinite;

}

@keyframes spin{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }

}

/* ===========================
   LOGIN
=========================== */

.login-box{

    width:420px;
    max-width:95%;
    padding:45px;

    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);

    border-radius:20px;
    background:rgba(15,15,15,.82);
    backdrop-filter:blur(20px);
    border:1px solid rgba(0,255,136,.25);
    box-shadow:
    0 0 25px rgba(0,255,136,.15),
    0 0 60px rgba(0,255,136,.08);

}

.login-box h1{

    font-family:'Orbitron',sans-serif;

    text-align:center;

    color:#00ff88;

    letter-spacing:4px;

    margin-bottom:10px;

}

.login-box p{

    text-align:center;

    color:#888;

    margin-bottom:30px;

}

input{

    width:100%;

    padding:15px;

    margin-bottom:18px;

    background:#101010;

    border:1px solid #222;

    border-radius:10px;

    color:#fff;

    transition:.3s;

}

input:focus{

    outline:none;

    border-color:#00ff88;

    box-shadow:0 0 15px rgba(0,255,136,.25);

}

button{

    width:100%;

    padding:15px;

    border:none;

    border-radius:10px;

    background:#00ff88;

    color:#000;

    font-weight:bold;

    cursor:pointer;

    transition:.25s;

}

button:hover{

    transform:translateY(-2px);

    box-shadow:0 0 20px rgba(0,255,136,.5);

}

/* ===========================
   FOOTER
=========================== */

footer{

    position:fixed;

    bottom:15px;

    left:0;

    width:100%;

    text-align:center;

    color:#00ff88;

    font-size:12px;

    opacity:.7;

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:768px){

.login-box{

    padding:30px;

}

.login-box h1{

    font-size:28px;

}

}
.error{

background:#3a0000;

border:1px solid red;

padding:12px;

margin-bottom:20px;

border-radius:8px;

color:white;

text-align:center;

}

.sidebar{

position:fixed;

left:0;

top:0;

width:260px;

height:100vh;

background:#0d0d0d;

border-right:1px solid #00ff88;

padding:30px;

overflow-y:scroll;
overflow-x:hidden;

}

.logo{

font-size:32px;

font-family:Orbitron;

color:#00ff88;

margin-bottom:40px;

text-align:center;

}

.sidebar a{

display:block;

padding:14px;

margin-bottom:10px;

color:white;

text-decoration:none;

border-radius:8px;

transition:.25s;

}

.sidebar a:hover{

background:#00ff88;

color:black;

}

.content{

margin-left:280px;

padding:40px;

width:calc(100% - 280px);

height:100vh;

overflow-y:auto;

}

.card{

    background:#111;
    padding:25px;
    border-radius:15px;
    border:1px solid #00ff88;
    box-shadow:0 0 20px rgba(0,255,136,.2);

    width:100%;

    margin-bottom:25px;

}

.success{

background:#002b12;

border:1px solid #00ff88;

padding:15px;

margin-bottom:20px;

border-radius:10px;

color:#00ff88;

}

.card input{

margin-bottom:15px;

}

.card hr{

border:none;

border-top:1px solid #222;

margin:12px 0;

}

select{

width:100%;

padding:15px;

margin-bottom:20px;

background:#111;

color:white;

border:1px solid #00ff88;

border-radius:10px;

}

textarea{

font-family:inherit;

font-size:15px;

resize:vertical;

}

table{
width:100%;
border-collapse:collapse;
margin-top:20px;
}

table tr{
border-bottom:1px solid #00ff88;
}

table td,
table th{
padding:12px;
text-align:left;
}

select{

width:100%;

padding:15px;

margin:10px 0;

background:#121212;

border:1px solid #222;

color:white;

border-radius:10px;

}

.dashboard-container{

    margin-left:260px;
    width:calc(100% - 260px);
    padding:40px;

    min-height:100vh;

}

.dashboard-box{

    width:100%;

    max-width:1100px;

    margin:0 auto;

    padding:45px;

    background:rgba(15,15,15,.82);

    border:1px solid rgba(0,255,136,.25);

    border-radius:20px;

    backdrop-filter:blur(20px);

}

/* ===========================
   MOBILE
=========================== */

@media (max-width:768px){

.sidebar{

    position:relative;
    width:100%;
    height:auto;
    border-right:none;
    border-bottom:1px solid #00ff88;

}

.content,
.dashboard-container{

    margin-left:0;
    width:100%;
    padding:15px;

}

.dashboard-box{

    padding:20px;

}

.logo{

    font-size:24px;
    margin-bottom:20px;

}

.card{

    padding:18px;

}

table{

    display:block;
    overflow-x:auto;

}

h1{

    font-size:28px;

}

h2{

    font-size:20px;

}

input,
select,
textarea,
button{

    font-size:16px;

}

}

@media (max-width:768px){

.sidebar{
    position:relative;
    width:100%;
    height:auto;
    left:0;
    border-right:none;
    border-bottom:1px solid #00ff88;
}

.dashboard-container,
.content{
    margin-left:0;
    width:100%;
    padding:15px;
}

}

textarea{

width:100%;

min-height:180px;

background:#181818;

color:#fff;

border:1px solid #00ff88;

border-radius:10px;

padding:15px;

font-size:15px;

resize:vertical;

outline:none;

box-sizing:border-box;

font-family:inherit;

}

textarea:focus{

border:1px solid #00ff88;

box-shadow:0 0 10px rgba(0,255,136,.4);

}

.menu-separator{

border:none;

border-top:1px solid #222;

margin:18px 0;

}