@import url("https://fonts.googleapis.com/css2?family=Zilla+Slab:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");

/* Common styles */
* {
    font-family: "Zilla Slab", serif;
}
body {
    letter-spacing: 0.5px;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-bottom: 0;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
:root {
    --white: #ffffff;
    --black: #000000;
    --red: #ff2e00;
    --dark_red: #d32802;
    --green: #28a745;
    --brown: #3c3434;
    --gray: #6c757d;
    --orange: #fd7e14;
    --gold: gold;
}
.wrapper {
    display: flex;
    position: relative;
}
.wrapper .content {
    width: 100%;
    margin-top: 1%;
}
.form-control {
    border: 1px solid #ced4da !important;
}
[type="file"] {
    padding: 0.375rem 0.75rem !important;
}
.asterisk {
    color: red;
}
.destroy-modal .destroy-modal-btn {
    border-radius: 0;
}
.select2-container--default .select2-selection--single {
    font-size: 15px !important;
    border: 1px solid #ced4da !important;
    border-radius: 0 !important;
    height: initial !important;
    padding-top: 0.2rem;
    padding-right: 0.3rem;
    padding-bottom: 0.2rem;
    padding-left: 0.3rem;
}
.notification-box {
    width: 60%;
    margin: auto;
}
/* Common styles */

/*Select2 ReadOnly*/
select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible
    + .select2-container
    .select2-selection {
    background: #e9ecef;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible
    + .select2-container
    .select2-selection__arrow,
select[readonly].select2-hidden-accessible
    + .select2-container
    .select2-selection__clear {
    display: none;
}
/*Select2 ReadOnly*/

/* Navbar styles */
.nav {
    border-bottom: 1px solid var(--red);
}
.nav .main-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav .main-logo .logo {
    height: 40px;
    margin-right: 13px;
    display: inline-block;
}
.nav .main-logo .logo-text {
    font-size: 35px;
    color: var(--dark_red);
    font-weight: 900;
}
.sidebar-collapse {
    background-color: var(--red);
    color: var(--white);
    font-size: 20px;
    width: 40px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0px;
    margin-right: 18px;
    transition: all 0.3s;
}
.sidebar-collapse:hover {
    background-color: var(--dark_red);
    transition: all 0.3s;
}
.sidebar-collapse i {
    height: 28px;
}
.dropdown-link {
    display: block;
    font-size: 14px;
    padding: 5px 15px;
}
/* Navbar styles */

/* Footer styles */
.footer .copyright {
    font-size: 14px;
    padding: 10px 0;
}
/* Footer styles */

/* Sidebar styles */
.wrapper .sidebar {
    min-width: 250px;
    max-width: 250px;
    height: 100vh;
    overflow-y: scroll;
    background-color: rgb(255, 255, 255);
    transition: all 0.3s;
    margin-left: -250px;
}
.wrapper .sidebar.active {
    margin-left: 0;
    transition: all 0.3s;
}
.wrapper .sidebar .components {
    border-bottom: 1px solid rgb(80, 80, 80, 0.1);
    list-style: none;
    padding: 15px 15px 5px 15px;
}
.wrapper .sidebar .components .heading {
    font-size: 16px;
    color: var(--green);
    padding-bottom: 7px;
    font-weight: 700;
}
.wrapper .sidebar .components li {
    padding-bottom: 8px;
}
.wrapper .sidebar .components .link {
    font-size: 14px;
    color: var(--brown);
    font-weight: 700;
}
.wrapper .sidebar .components .link.active {
    color: var(--red);
}
.wrapper .sidebar .components .link i {
    padding-right: 5px;
}
.wrapper .sidebar .components .link:hover {
    color: var(--red);
}
.wrapper .sidebar::-webkit-scrollbar {
    width: 3px;
}
.wrapper .sidebar::-webkit-scrollbar-track {
    background: #ececec;
}
.wrapper .sidebar::-webkit-scrollbar-thumb {
    background: var(--green);
}
.wrapper .sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}
.wrapper .sidebar .accordion-button:focus {
    box-shadow: none !important;
}
.wrapper .sidebar .accordion-button:not(.collapsed) {
    background-color: white !important;
}
/* Sidebar styles */

/* Table styles */
.table-container {
    width: 90%;
    margin: auto;
}
.table-container .card {
    border-radius: 0;
}
.table-container .table-title {
    font-size: 18px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
}
.table-container .table-title i {
    margin-right: 5px;
}
.table-container .create-btn {
    margin-left: auto;
    font-size: 15px;
    color: var(--white);
    background-color: var(--dark_red);
    width: 120px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s;
}
.table-container .create-btn:hover {
    background-color: var(--red);
    transition: all 0.3s;
}
.table-container .table tr th {
    font-size: 17px;
    color: var(--red);
    text-align: center;
    font-weight: 700;
}
.table-container .table tr td {
    font-size: 15px;
    color: var(--gray);
    vertical-align: middle;
}
.table-container .table tr td:last-child {
    text-align: center;
}
.table-container div.dataTables_wrapper div.dataTables_info,
.table-container .dataTables_length label,
.table-container .dataTables_filter label,
.table-container .dataTables_wrapper .paginate_button a,
.table-container .edit,
.table-container .destroy {
    font-size: 14px;
}
.table-container .dataTables_wrapper .row:nth-child(3) {
    margin-top: 10px;
    align-items: center;
}
.table-container .table-image {
    margin: auto;
    height: 50px;
    width: 65px;
    object-fit: cover;
}
.table-container .filter-form {
    width: 80%;
    border: 1px solid rgb(233, 233, 233);
    padding: 15px 15px;
    margin-left: auto;
}
.table-container .filter-form .search-btn {
    font-size: 15px;
    color: var(--white);
    background-color: var(--green);
    width: 115px;
    height: 40px;
    margin-right: 15px;
    font-weight: 700;
    border-radius: 0;
    transition: all 0.3s;
}
.table-container .filter-form .reset-btn {
    font-size: 15px;
    color: var(--white);
    background-color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 115px;
    height: 40px;
    font-weight: 700;
    border-radius: 0;
    transition: all 0.3s;
}
/* Table styles */

/* Edit styles */
.edit-container .card {
    border-radius: 0;
}
.edit-container .card .single-form-input {
    margin-bottom: 15px;
    position: relative;
}
.edit-container .form-label {
    font-size: 15px;
    margin-bottom: 3px;
}
.edit-container .form-control {
    font-size: 15px;
    border-radius: 0;
    letter-spacing: 0.5px;
}
.edit-container .form-btn {
    font-size: 15px;
    background-color: var(--brown);
    color: var(--white);
    border-radius: 0;
    transition: all 0.3s;
    width: 120px;
}
.edit-container .form-btn:hover {
    background-color: var(--red);
    transition: all 0.3s;
}
.edit-container .form-back-btn {
    font-size: 15px;
    background-color: var(--gray);
    color: var(--white);
    border-radius: 0;
    transition: all 0.3s;
    width: 120px;
}
.edit-container .form-back-btn:hover {
    background-color: var(--orange);
    transition: all 0.3s;
}
.edit-container .form-image {
    /*height: 200px;*/
    width: 350px;
    object-fit: contain;
}
.edit-container .profile-image {
    border-radius: 50%;
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.edit-container .profile-name {
    font-size: 40px;
    font-weight: 700;
    line-height: 50px;
}
.edit-container .rating .bi-star-fill {
    color: var(--gold);
}
.edit-container .rating .bi-star {
    color: var(--gray);
}
.edit-container .bi-square-fill {
    font-size: 14px;
}
.edit-container .license-image {
    /*height: 270px;*/
    width: 100%;
    object-fit: cover;
}
.edit-container .bank-details {
    margin-bottom: 35px;
}
.edit-container .edit-profile-image {
    /*height: 325px;*/
    width: 100%;
    object-fit: cover;
}
.edit-container .create-point {
    font-size: 15px;
    background-color: var(--brown);
    color: var(--white);
    border-radius: 0;
    transition: all 0.3s;
    width: 120px;
}
.edit-container .create-point:hover {
    background-color: var(--red);
    transition: all 0.3s;
}
.edit-container .delete-point {
    font-size: 15px;
    background-color: var(--red);
    color: var(--white);
    border-radius: 0;
    transition: all 0.3s;
}
.edit-container .delete-point:hover {
    background-color: var(--dark_red);
    transition: all 0.3s;
}
/* Edit styles */

/* Dashboard styles */
.dashboard-container {
    max-width: 1500px;
    margin: auto;
}
.dashboard .card {
    border: 0;
}
.dashboard .card-body .row {
    -webkit-box-shadow: 0px 0px 8px -5px rgb(0 0 0 / 70%);
    -moz-box-shadow: 0px 0px 8px -5px rgb(0 0 0 / 70%);
    box-shadow: 0px 0px 8px -5px rgb(0 0 0 / 70%);
    margin-bottom: 50px;
    padding: 25px;
    border-radius: 25px;
}
.dashboard .table-title {
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
}
.dashboard .table-title i {
    margin-right: 5px;
}
.dashboard .card-header {
    padding: 20px;
    border-color: var(--white);
}
.dashboard .single-data {
    width: 19%;
    height: 125px;
    text-align: center;
    border: 2px solid #dbdbdb;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.dashboard .dashboard-title {
    font-size: 22px;
    color: var(--red);
    font-weight: 800;
    padding-bottom: 10px;
    line-height: 25px;
}
.dashboard .dashboard-number {
    font-size: 35px;
    color: var(--green);
    line-height: 35px;
}
/* Dashboard styles */

/* Login page styles */
.guest {
    background-image: url("../storage/background.jpg");
    background-size: contain;
    background-size: 100% 100%;
    display: block;
}
.auth-notification {
    color: red;
    font-size: 22px;
    text-align: center;
}
/* Login page styles */

/* Password field */
.password-input {
    display: flex;
    align-items: center;
    position: relative;
}
.eye-icon,
.eye-new-icon,
.eye-confirm-icon {
    position: absolute;
    right: 10px;
    width: 20px;
    height: 20px;
    background-image: url("../storage/eye.svg");
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}
input[type="password"].show-password {
    -webkit-text-security: none;
    -moz-text-security: none;
    -ms-text-security: none;
    text-security: none;
}
/* Password field */

.image-container {
    position: relative;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.image-container:hover img {
    transform: scale(1.2);
    cursor: zoom-in;
}
