/* =========================
   UNIUYO STAFF CLUB STYLE
   Colors: Yellow, Blue, Black
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f4f6f9;
    color:#111;
    overflow-x:hidden;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:70px;
    background:#003366;
    color:#fff;
    display:flex;
    align-items:center;
    padding:0 20px;
    z-index:1001;
    box-shadow:0 2px 10px rgba(0,0,0,.2);
}

.navbar h2{
    color:#ffcc00;
    margin-left:15px;
    font-size:22px;
}

.menu-btn{
    font-size:28px;
    color:#ffcc00;
    cursor:pointer;
    user-select:none;
}

/* =========================
   SIDEBAR
========================= */

.sidebar{
    position:fixed;
    top:70px;
    left:-260px;
    width:250px;
    height:calc(100vh - 70px);
    background:#000;
    overflow-y:auto;
    transition:0.3s ease;
    z-index:1002;
}

.sidebar.active{
    left:0;
}

.sidebar a{
    display:block;
    color:#fff;
    text-decoration:none;
    padding:15px 20px;
    border-left:4px solid transparent;
    transition:0.3s;
}

.sidebar a:hover{
    background:#003366;
    color:#ffcc00;
    border-left:4px solid #ffcc00;
}

/* =========================
   OVERLAY
========================= */

.overlay{
    position:fixed;
    top:70px;
    left:0;
    width:100%;
    height:calc(100vh - 70px);
    background:rgba(0,0,0,.5);
    display:none;
    z-index:1000;
}

.overlay.active{
    display:block;
}

/* =========================
   MAIN CONTENT
========================= */

.main{
    margin-top:90px;
    padding:25px;
}

/* =========================
   DESKTOP
========================= */

@media(min-width:992px){

    .sidebar{
        left:0;
        width:250px;
    }

    .menu-btn{
        display:none;
    }

    .overlay{
        display:none !important;
    }

    .main{
        margin-left:250px;
    }
}

/* =========================
   MOBILE
========================= */

@media(max-width:991px){

    .main{
        margin-left:0;
        padding:15px;
    }

    .navbar h2{
        font-size:18px;
    }
}

/* =========================
   CARDS
========================= */

.card{
    background:#fff;
    padding:25px;
    border-radius:10px;
    margin-bottom:25px;
    border-top:5px solid #ffcc00;
    box-shadow:0 2px 8px rgba(0,0,0,.1);
}

.card h2,
.card h3{
    color:#003366;
    margin-bottom:15px;
}

/* =========================
   FORMS
========================= */

form{
    background:#fff;
    padding:25px;
    border-radius:10px;
    box-shadow:0 2px 8px rgba(0,0,0,.1);
}

input,
select,
textarea{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:15px;
    outline:none;
}

input:focus,
select:focus,
textarea:focus{
    border-color:#003366;
}

/* =========================
   BUTTONS
========================= */

button{
    background:#003366;
    color:#fff;
    border:none;
    padding:12px 20px;
    border-radius:6px;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#ffcc00;
    color:#000;
}

/* =========================
   TABLES
========================= */

.table-responsive{
    width:100%;
    overflow-x:auto;
}

table{
    width:100%;
    min-width:700px;
    border-collapse:collapse;
    background:#fff;
}

table th{
    background:#003366;
    color:#fff;
    padding:14px;
    text-align:left;
}

table td{
    padding:12px;
    border-bottom:1px solid #ddd;
}

table tr:hover{
    background:#f9f9f9;
}

/* =========================
   ALERTS
========================= */

.success{
    background:#d4edda;
    color:#155724;
    padding:12px;
    border-radius:6px;
    margin-bottom:15px;
}

.error{
    background:#f8d7da;
    color:#721c24;
    padding:12px;
    border-radius:6px;
    margin-bottom:15px;
}

/* =========================
   LOGIN / REGISTER
========================= */

.auth-container{
    width:100%;
    max-width:450px;
    margin:100px auto;
    background:#fff;
    padding:30px;
    border-radius:12px;
    border-top:5px solid #ffcc00;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}

.auth-container h2{
    text-align:center;
    color:#003366;
    margin-bottom:20px;
}

.auth-container form{
    background:none;
    box-shadow:none;
    padding:0;
}

.auth-container button{
    width:100%;
}

.auth-container a{
    color:#003366;
    text-decoration:none;
    font-weight:bold;
}

.auth-container a:hover{
    color:#ffcc00;
}

/* =========================
   FOOTER
========================= */

.footer{
    background:#000;
    color:#ffcc00;
    text-align:center;
    padding:15px;
    margin-top:30px;
}

/* =========================
   TABLET
========================= */

@media screen and (max-width:992px){

    .navbar h2{
        font-size:20px;
    }

    .main{
        padding:20px;
    }
}

/* =========================
   SMALL PHONES
========================= */

@media screen and (max-width:480px){

    .navbar h2{
        font-size:16px;
    }

    .main{
        padding:10px;
    }

    .card{
        padding:15px;
    }

    input,
    select,
    textarea{
        font-size:14px;
        padding:10px;
    }

    button{
        font-size:14px;
    }
}