/* ==========================
   D20 EPIC LEVEL GLOBAL STYLE
   ========================== */

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

body{
    background:#1a1a1a;
    color:#ffffff;
    font-family:Arial, Helvetica, sans-serif;
    line-height:1.6;
    min-height:100vh;
}

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

a{
    color:#4da6ff;
    text-decoration:none;
    transition:.2s;
}

a:hover{
    color:#79bdff;
}

/* ==========================
   HEADERS
   ========================== */

h1{
    font-size:36px;
    margin-bottom:15px;
}

h2{
    font-size:28px;
    margin-bottom:12px;
}

h3{
    font-size:22px;
    margin-bottom:10px;
}

p{
    margin-bottom:15px;
}

/* ==========================
   TOP NAVIGATION
   ========================== */

.header{
    background:#222222;
    border-bottom:1px solid #333333;
    padding:15px 25px;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:28px;
    font-weight:bold;
    color:#008cff;
}

.nav-links{
    display:flex;
    gap:20px;
}

.nav-links a{
    color:white;
    font-weight:bold;
}

/* ==========================
   PAGE CONTAINER
   ========================== */

.container{
    width:95%;
    max-width:1400px;
    margin:auto;
    padding:25px;
}

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

.card{
    background:#242424;
    border:1px solid #333333;
    border-radius:10px;
    padding:20px;
    margin-bottom:20px;
}

.card-title{
    font-size:22px;
    margin-bottom:10px;
    color:#008cff;
}

/* ==========================
   BUTTONS
   ========================== */

.btn{
    display:inline-block;
    background:#008cff;
    color:white;
    border:none;
    border-radius:6px;
    padding:12px 20px;
    cursor:pointer;
    font-size:15px;
    font-weight:bold;
    transition:.2s;
}

.btn:hover{
    background:#2f6fed;
}

.btn-secondary{
    background:#444444;
}

.btn-secondary:hover{
    background:#555555;
}

/* ==========================
   FORMS
   ========================== */

.form-group{
    margin-bottom:15px;
}

label{
    display:block;
    margin-bottom:6px;
    font-weight:bold;
}

input,
select,
textarea{
    width:100%;
    padding:12px;
    border:1px solid #444444;
    border-radius:6px;
    background:#2a2a2a;
    color:white;
    font-size:14px;
}

input:focus,
select:focus,
textarea:focus{
    outline:none;
    border-color:#008cff;
}

/* ==========================
   TABLES
   ========================== */

table{
    width:100%;
    border-collapse:collapse;
}

th{
    background:#252525;
    padding:12px;
    text-align:left;
}

td{
    padding:12px;
    border-top:1px solid #333333;
}

/* ==========================
   DASHBOARD GRID
   ========================== */

.grid{
    display:grid;
    gap:20px;
}

.grid-2{
    grid-template-columns:repeat(2, 1fr);
}

.grid-3{
    grid-template-columns:repeat(3, 1fr);
}

.grid-4{
    grid-template-columns:repeat(4, 1fr);
}

/* ==========================
   FOOTER
   ========================== */

.footer{
    margin-top:40px;
    padding:20px;
    text-align:center;
    border-top:1px solid #333333;
    color:#999999;
}

/* ==========================
   ALERTS
   ========================== */

.success{
    background:#1d3a24;
    border:1px solid #2c6a3f;
    color:#9effb0;
    padding:15px;
    border-radius:6px;
}

.warning{
    background:#4a3912;
    border:1px solid #8b6b1a;
    color:#ffd97a;
    padding:15px;
    border-radius:6px;
}

.error{
    background:#4a1e1e;
    border:1px solid #8f2c2c;
    color:#ff9999;
    padding:15px;
    border-radius:6px;
}

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

@media(max-width:900px){

    .grid-2,
    .grid-3,
    .grid-4{
        grid-template-columns:1fr;
    }

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
    }

}

.login-info{

    margin-top:15px;

    color:#aaaaaa;

    font-size:13px;

    line-height:1.5;

}

/* discord banner */

.discord-banner {

    width: 80%;

    max-width: 1400px;

    margin: 20px auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 25px;

    background: #171b24;

    border: 1px solid #2c3446;

    border-left: 5px solid #5865F2;

    border-radius: 12px;

    padding: 24px;

}

.discord-content {

    flex: 1;

}

.discord-content h2 {

    margin: 0 0 10px 0;

    color: #5865F2;

    font-size: 1.8rem;

}

.discord-content p {

    margin: 0;

    color: #d0d7e5;

    line-height: 1.6;

}

.discord-actions {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

}

.discord-button {

    background: #5865F2;

    color: white;

    text-decoration: none;

    padding: 14px 28px;

    border-radius: 8px;

    font-weight: 700;

    transition: 0.25s;

}

.discord-button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 0 15px rgba(88,101,242,.4);

}

.discord-note {

    color: #9ca6bb;

    font-size: 0.85rem;

    text-align: center;

}

.dashboard-ad {

    width: 80%;

    margin: 15px auto;

    padding: 10px 20px;

    background: #222a39;

    border: 1px solid #2d8cff;

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

}

.ad-label {

    background: #2d8cff;

    color: white;

    padding: 4px 10px;

    border-radius: 4px;

    font-size: 0.75rem;

    font-weight: bold;

}

.ad-text {

    flex: 1;

    color: #d0d7e5;

}

.ad-button {

    background: #2d8cff;

    color: white;

    padding: 8px 14px;

    border-radius: 6px;

    text-decoration: none;

}