﻿@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit:wght@100..900&display=swap');

:root {
    --color-primary: #125192;
    --color-secondary: #24b1e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Outfit", sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, body {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-style: normal;
}

p, body {
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    color: #656565;
}

a {
    color: #125192;
}

a:hover {
    color: #24b1e6;
}

h1 {
    font-size: 40px;
    line-height: 45px;
    color: #07173c;
    text-transform: uppercase;
}

h2 {
    font-size: 35px;
    line-height: 40px;
    color: #07173c;
    text-transform: uppercase;
}

h3 {
    font-size: 30px;
    line-height: 35px;
    color: #07173c;
    text-transform: uppercase;
}

h4 {
    font-size: 25px;
    line-height: 30px;
    color: #07173c;
    text-transform: uppercase;
}

h5 {
    font-size: 20px;
    line-height: 25px;
    color: #07173c;
    text-transform: uppercase;
}

h6 {
    font-size: 17px;
    line-height: 23px;
    color: #07173c;
    text-transform: uppercase;
}

.btn-primary {
    background-color: #24b1e6;
    font-size: 15px;
    letter-spacing: 1px;
    color: #FFFFFF;
    border-radius: 5px;
    padding: 12px 35px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: transparent;
    color: #FFFFFF;
    background-image: linear-gradient(94deg, #125192 0%, #24b1e6 100%);
}

.content-wrapper > .content {
    padding: 50px;
}

.main-pg-title, .main-pg-desc {
    color: #fff;
}

.container {
    position: relative;
}


.close, .mailbox-attachment-close {
    background-color: #24b1e6 !important;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: #FFFFFF;
    text-shadow: none;
    opacity: 1;
    padding: 7px 15px !important;
}

.close:hover, .mailbox-attachment-close:hover {
    background-color: transparent;
    color: #FFFFFF;
    background-image: linear-gradient(94deg, #125192 0%, #24b1e6 100%);
    color: #FFFFFF;
}

.dataTables_scrollBody {
    scrollbar-width: thin;
    scrollbar-color: #cfcfcf #f5f5f5;
}

.dataTables_scrollBody::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.dataTables_scrollBody::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb {
    background-color: #cfcfcf;
    border-radius: 3px;
}

/* Breadcrum */
.main-breadcrum-sec {
    background: linear-gradient(135deg, #125192 0%, #24b1e6 80%);
    color: white;
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.main-breadcrum-sec::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.breadcrumb-title {
    color: #fff;
    margin-top: 10px;
    margin-bottom: 0px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: 5px;
    font-size: 15px;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
    opacity: 1;
}

.breadcrumb-item a {
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #fff;
    opacity: 1;
}

.breadcrumb-item.active {
    color: #fff;
    opacity: 1;
}

/* Datatables */

.table th {
    background-color: #125192;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: #fff;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none !important;
}

.table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9!important;
    vertical-align: middle;
}

.table tr:hover {
    background: rgba(102, 126, 234, 0.02);
}

table.dataTable {
    margin-top: 0px !important;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    display: flex;
    gap: 0.5rem;
}

.page-item .page-link {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.page-item:hover .page-link {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.page-item.active .page-link {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-control-sm {
    height: calc(2.5rem + 2px);
    font-size: 1rem;
    border-radius: 5px;
}

.dataTables_filter .form-control, .dataTables_length select {
    padding: 0.6rem 1rem 0.6rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.dataTables_filter .form-control:focus, .dataTables_length select:focus {
    outline: none;
    border-color: #125192;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.dataTables_scroll {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    margin: 20px 0px;
}

.btn-sm {
    padding: 10px 15px;
    font-size: 15px;
    border-radius: 5px;
    line-height: 20px;
    text-transform: none;
    letter-spacing: 0px;
    border: none!important;
}

.btn-text {
    text-transform: none!important;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 500;
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;

}

.nav-tabs .nav-link {
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 5px 5px 0 0;
    border: none;
}

.nav-tabs .nav-link.active {
    background-color: #24b1e6;
    color: #fff;
}

.nav-tabs .nav-link {
    color: #24b1e6;
}

/* alerts */
.alert-success .custom-close-button {
    color: #ffffff;
    background-color: #23923d !important;
    padding: 6px 12px 12px !important;
    position: absolute;
    right: 10px;
    top: 6px;
    font-size: 25px;
    border: none;
    border-radius: 5px;
}

.alert-danger .custom-close-button {
    color: #ffffff;
    background-color: #dc3545 !important;
    padding: 6px 12px 12px !important;
    position: absolute;
    right: 10px;
    top: 6px;
    font-size: 25px;
    border: none;
    border-radius: 5px;
}

.alert-success {
    color: #23923d;
    background-color: #b7fac6;
    border-color: #6ec783;
    border-radius: 10px;
    line-height: 20px;
    margin: 0px 30px;
    padding: 15px 25px;
}

.alert-danger {
    color: #dc3545;
    background-color: #ffe0e3;
    border-color: #fa9ea7;
    border-radius: 10px;
    line-height: 20px;
    margin: 0px 30px;
    padding: 15px 25px;
}

@keyframes slide-in-top {
    0% {
        opacity: 0;
        transform: translateY(40%);
    }

    100% {
        opacity: 0.5;
        transform: translateY(0);
    }
}

@keyframes slide-in-left {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(359deg);
    }
}

@media screen and (max-width: 1024px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
    }
}

@media screen and (max-width: 991px) {

    h1 {
        font-size: 35px;
        line-height: 40px;
    }

    .content-wrapper > .content {
        padding: 30px;
    }
}

@media screen and (max-width: 767px) {
    .content-wrapper > .content {
        padding: 20px;
    }

    .container, .container-sm {
        max-width: 100%;
    }

    div.dataTables_wrapper div.dataTables_info {
        padding-bottom: 10px;
    }


    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper {
        margin-left: 0px!important;
    }

}

@media screen and (max-width: 480px) {
    .sidebar-open .nav-logout {
        display: none!important;
    }
    .btn-primary {
        padding: 13px 25px;
    }

    .main-breadcrum-sec {
        padding: 20px 15px;
    }

    .breadcrumb {
        gap: 0px;
        font-size: 13px;
    }
}