@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-Bold.ttf');
}

:root {
    --primary: #054c4c;
}

::selection {
    background-color: var(--primary);
    color: #fff;
}

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

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary);
    cursor: pointer;
}

* {
    box-sizing: border-box;
    font-family: 'Cairo';
}

body {
    background-color: #eee;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

form {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
}

form img {
    display: block;
    width: 150px;
    height: 150px;
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 2px;
    margin: 0 auto 15px;
}

form .form-group {
    margin-bottom: 10px;
    position: relative;
}

form label {
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 10px;
}

form .form-control {
    padding: 10px;
    font-size: 17px;
    color: var(--primary) !important;
}

form textarea {
    height: 150px;
    resize: none;
}

.auth {
    max-width: 500px;
    margin: 50px auto;
}

.auth h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 10px;
}

.auth i {
    font-size: 20px;
    color: var(--primary);
    position: absolute;
    top: 50px;
}

.auth i:not(#show-password) {
    left: 10px;
}

.auth #show-password {
    right: 10px;
    cursor: pointer;
}

.auth .form-control {
    padding-left: 40px;
    padding-right: 40px;
}

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

.alerts .alert i {
    cursor: pointer;
}

.alert {
    display: block;
    padding: 5px 10px;
    margin-top: 5px;
}

.wrapper {
    background-color: #eee;
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.sidebar {
    width: 200px;
    min-height: 100vh;
    background-color: #fff;
    padding: 15px 0;
}

@media (max-width: 991px) {
    .sidebar {
        width: 50px;
    }
}

.sidebar img {
    display: block;
    width: 100px;
    height: 100px;
    margin: auto;
    margin-bottom: 15px;
}

@media (max-width: 991px) {
    .sidebar img {
        width: 50px;
        height: 50px;
    }
}

.sidebar ul {
    margin: 0 auto;
    padding: 0;
    width: 80%;
    border-top: 2px solid var(--primary);
    padding-top: 10px;
}

.sidebar li:not(:last-of-type) {
    margin-bottom: 10px;
}

.sidebar ul li a {
    display: block;
    font-size: 17px;
    color: var(--primary);
    padding: 10px;
    border-radius: 5px;
}

.sidebar ul li a.active,
.sidebar ul li a:hover {
    background-color: var(--primary);
    color: #fff;
}

@media (max-width: 991px) {
    .sidebar ul li a span {
        display: none;
    }
}

.main-content {
    flex: 1;
    overflow-x: hidden;
}

.topbar {
    width: 100%;
    height: 50px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.topbar-title span {
    font-size: 20px;
    color: var(--primary);
}

@media (max-width: 991px) {
    .topbar-title span {
        display: none;
    }
}

.topbar-actions {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-actions i {
    font-size: 20px;
    color: var(--primary);
}

.topbar-actions i:last-of-type {
    margin-left: 10px;
}

.topbar-actions .dropdown .dropdown-toggle {
    cursor: pointer;
}

.topbar-actions .dropdown .dropdown-menu {
    width: 250px;
    padding: 5px;
    border-radius: 5px;
    border: none;
    box-shadow: 0 0 5px var(--primary);
    text-align: center;
}

.topbar-actions .dropdown .dropdown-menu p {
    font-size: 17px;
    color: var(--primary);
    margin: 0;
}

.topbar-actions .dropdown .dropdown-menu img {
    display: block;
    margin: 10px auto;
    width: 150px;
    height: 150px;
}

.topbar-actions .dropdown .dropdown-menu div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.topbar-actions .dropdown .dropdown-menu div a {
    width: 49%;
    background-color: var(--primary);
    color: #fff;
    padding: 5px;
    font-size: 15px;
    border-radius: 5px;
}

.content {
    padding: 10px;
}

.navbar {
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.navbar .navbar-brand {
    color: var(--primary);
    font-size: 20px;
    margin: 0;
}

.navbar .navbar-toggler {
    border: none;
    font-size: 25px;
    padding: 0;
    color: var(--secondry);
}

.navbar .navbar-toggler:focus {
    box-shadow: none;
}

.navbar .navbar-nav {
    padding: 0;
}

@media (max-width: 991px) {
    .navbar .navbar-nav .nav-item {
        margin: 5px 0 0 !important;
    }
}

.navbar .navbar-nav .nav-item {
    margin-right: 5px;
}

.navbar .navbar-nav .nav-item .btn {
    display: block;
    font-size: 17px;
}

.navbar .navbar-nav .nav-item .dropdown-toggle::after {
    display: none;
}

table thead tr th {
    background-color: #fff !important;
    color: #333;
    font-size: 17px;
    text-transform: capitalize;
}

table body tr th,
table body tr td {
    color: #333;
    font-size: 14px;
    vertical-align: middle;
}

#search {
    display: none;
}

.profile-header {
    background-color: #fff;
    margin: 15px 0;
    padding: 15px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .profile-header {
        text-align: center;
    }
}

.profile-header img {
    width: 100px;
    height: 100px;
}

.profile-header span {
    vertical-align: middle;
    color: var(--primary);
    font-size: 30px;
}

@media (max-width: 768px) {
    .profile-header span {
        display: block;
        margin-top: 10px;
    }
}

.profile-body {
    background-color: #fff;
    margin: 15px 0;
    padding: 15px;
    border-radius: 5px;
}

.profile .profile-body .profile-info p {
    text-align: start;
    color: grey;
    margin: 0;
}

.profile .profile-body .profile-info p:not(:last-of-type) {
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}

.profile .profile-body .profile-info p span {
    color: var(--primary);
    display: block;
    margin-top: 5px;
}

.footer {
    background-color: #fff;
    width: 100%;
    height: 56px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--secondry);
    margin-top: 10px;
}

.footer p {
    color: var(--primary);
    margin: 0;
    text-align: center;
    line-height: 1.6;
}

.footer p i {
    color: #f00;
}

.footer p a {
    color: var(--primary);
}
