body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins !important;
}

.select2-container .select2-selection--single {
    height: 37px;
    width: 100%;
}

.select2 .select2-selection__rendered {
    padding: 4px;
}

.select2-search__field {
    outline: 1px solid black;
}

.welcome-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Times New Roman", Times;
    border-radius: 35px;
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.274);
    max-width: 600px;
    margin: auto;
    margin-top: 30px;
    padding: 120px;
}

button:focus {
    outline: none;
}

.sidebar svg {
    margin-right: 5px;
}

.sidebar {
    background-color: #6420aa;
    color: white;
    height: calc(100vh - 60px); /* Full height minus navbar */
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    margin-top: 60px;
}

.sidebar img {
    width: 100%;
}

.sidebar a,
.sidebar .dropbtn {
    color: white;
    font-size: 18px;
    margin-bottom: 2px;
    display: block;
    font-family: "Open Sans", sans-serif;
    padding: 5px 3px 5px 6px;
}

.sidebar a.active {
    background-color: #824ac2;
    border-radius: 5px;
}

.sidebar a:hover {
    background-color: #874ccc;
    border-radius: 5px;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
th,
td,
p,
a,
input,
button,
label,
div {
    font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
        "Helvetica Neue", sans-serif !important;
}

.welcome-container h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.welcome-container .buttons {
    display: flex;
    gap: 20px;
}

.welcome-container .buttons a {
    padding: 18px 25px;
    background-color: #ebebec;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.6s ease;
}

.welcome-container .buttons a:hover {
    background-color: #0af3f3;
    transform: scale(1.25);
}

.custom-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

.card {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.308);
}

.gradient-custom-2 {
    background: linear-gradient(to right, #003cff, #a20 0ff);
}

.card {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.308);
}

.custom-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .gradient-form {
        height: 100vh !important;
    }
}

@media (min-width: 769px) {
    .gradient-custom-2 {
        border-top-right-radius: 0.3rem;
        border-bottom-right-radius: 0.3rem;
    }
}

@media (min-width: 768px) {
    .gradient-form {
        height: 100vh !important;
    }
}

@media (min-width: 769px) {
    .gradient-custom-2 {
        border-top-right-radius: 0.3rem;
        border-bottom-right-radius: 0.3rem;
    }
}

/* Centering the table on the page */
.table-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Styling the table */
.table {
    width: 100%;
    max-width: 800px;
    padding-left: 10px;
    padding-right: 10px;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.table th,
.table td {
    padding: 12px 15px;
    border: 1px solid #898989bc;
    text-align: left;
}

.table th {
    background-color: #e9ecef;
    font-weight: bold;
}

.table tbody tr:nth-child(even) {
    background-color: #dddefc92;
}

.table tbody tr:hover {
    background-color: #714bef51;
}

/* Responsive adjustments */
@media (max-width: 720px) {
    .table-container {
        width: 50%;
        padding: 20px;
    }

    .table {
        width: 100%;
        margin: 0;
    }

    .table th,
    .table td {
        padding: 10px;
    }

    @media (max-width: 640px) {
        .container {
            width: 30%;
            padding: 1rem;
        }
    }

    @media (max-width: 924px) {
        .container {
            width: 70%;
        }
    }

    @media (max-width: 1024px) {
        .container {
            width: 60%;
        }
    }
}
.card-content {
    margin-top: 20px;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #959090;
}

::-webkit-scrollbar-thumb:hover {
    background: #07b0ffbb;
    transform: scale(1.1);
}
