﻿/*body {
    padding-top: 50px;
    padding-bottom: 20px;
}*/

/* Set padding to keep content from hitting the edges */
/*.body-content {
    padding-left: 15px;
    padding-right: 15px;
}*/

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/





h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, li {
    font-family: sans-serif !important;
}

.back-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

    .back-button:hover {
        background-color: #34495e;
    }
/*.center-link {
    display: block !important;
    text-align: center !important;
    margin-top: 20px !important;
}*/
.center-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    /*float:right!important;*/
}
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select
 {
    max-width: 280px;
}*/
input,
select,
textarea {
    max-width: 100%;
}
.box {
    width: 100%;
    background-color: darkblue;
    height: 100px;
}
/*.nav-item a {
    color: white;
    text-decoration: none;
    float: left;
    font-size: 15PX;
    padding: 15PX;
}*/
body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

table {
    width: 90%;
    margin: auto;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

 th,  td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: darkblue;
    color: white;
}
tr:nth-child(even) {
    background-color: #f9f9f9;
}

 tr:hover {
    background-color: #eef3f9;
}

 a {
    margin-right: 10px;
    color: darkblue;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: black;
}
.back-button {
    display: inline-block;
    padding: 8px 16px;
    /* background-color:#2c3e50;*/
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

    .back-button:hover {
        background-color: #34495e;
    }
.center-link  {
    display: inline-block;
    padding: 8px 16px;
    /* background-color:#2c3e50;*/
    background-color:black;
    color: white !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}
/*.sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff;
    border-right: 1px solid #dee2e6;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    z-index: 1000;
}

    .sidebar .nav-link {
        color: #495057;
        padding: 12px 20px;
        border-radius: 8px;
        transition: 0.3s;
        display: flex;
        align-items: center;
        font-weight: 500;
    }

        .sidebar .nav-link i {
            margin-right: 10px;
            font-size: 1.1rem;
        }

        .sidebar .nav-link:hover,
        .sidebar .nav-link.active {
            background-color: #e9f2ff;
            color: #0d6efd;
        }

    .sidebar .dropdown a strong {
        color: #212529;
    }

    .sidebar hr {
        border-color: rgba(0, 0, 0, 0.1);
    }*/

/* Main content */
/*.main-content {
    margin-left: 260px;
    padding: 2rem;
    transition: all 0.3s ease;
}*/

/* Toggle (for mobile) */
/*.toggle-checkbox {
    display: none;
}

.toggle-label {
    display: none;
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
    color: #212529;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 600;
}*/

/* Responsive layout */
/*@: @media (max-width: 992px) {
    .sidebar {
        left: -260px;
    }

    .toggle-label {
        display: block;
    }

    .toggle-checkbox:checked ~ .sidebar {
        left: 0;
    }

    .toggle-checkbox:checked ~ .main-content {
        margin-left: 0;
    }

    .main-content {
        margin-left: 0;
    }
}*/

/* Cards */
/*.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
    }

.card-title i {
    color: #0d6efd;
}*/
/* admin.css */

/* Body styling */
body {
    font-family: "Poppins", sans-serif;
    background-color: #f4f6f9;
    color: #212529;
    margin: 0;
}

/* Sidebar */
.sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff;
    border-right: 1px solid #dee2e6;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    z-index: 1000;
}

    .sidebar .nav-link {
        color: #495057;
        padding: 12px 20px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        font-weight: 500;
        transition: 0.3s;
    }

        .sidebar .nav-link:hover,
        .sidebar .nav-link.active {
            background-color: #e9f2ff;
            color: #0d6efd;
        }

/* Main content */
.main-content {
    margin-left: 260px;
    padding: 2rem;
    transition: all 0.3s ease;
}

/* Toggle button for mobile */
.toggle-checkbox {
    display: none;
}

.toggle-label {
    display: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
}

/* Responsive sidebar */
@media (max-width: 992px) {
    .sidebar {
        left: -260px;
    }

    .toggle-label {
        display: block;
    }

    .toggle-checkbox:checked ~ .sidebar {
        left: 0;
    }

    .toggle-checkbox:checked ~ .main-content {
        margin-left: 0;
    }

    .main-content {
        margin-left: 0;
    }
}

/* Cards (optional) */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
    }
.sidebar {
    height: 100vh; /* Full viewport height */
    overflow-y: auto; /* Enable vertical scroll */
    overflow-x: hidden; /* Hide horizontal scroll */
}
