@charset "UTF-8";

/*!
 * Version - 1.1.1
 * Copyright (c) 2025 Astrolab <info@astrolab.com> and another company

 * L’autorisation est accordée à toute personne qui en obtient une copie de ce style.
 * Il est strictement interdit de publier(vendre) sans l'autorisation préalable des auteurs.
 * Des spécialistes sont à l'origine des documents fourn:is.
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Nata+Sans:wght@100..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');
@import url('../vendor/bootstrap/css/bootstrap.min.css');
@import url('typography.css');
@import url('color.css');

/*  ==========================================
*   ================= GENERAL ================
*/
* {
    font-family: var(--ff-source);
    font-weight: 300;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: #f1f5fb;
    font-size: 0.875rem;
}

a {
    text-decoration: none !important;
}

/*  =========================================
*   ================== END GENERAL ==================
*/

/*  ==============================================
*   =================== CUSTOM ===================
*/
/* 0. Widget */
.square {
    width: 50px;
    height: 50px;
    background-color: #f1f5fb;
    color: var(--primary);
    border-radius: .25rem !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.square.primary {
    background-color: var(--primary);
    color: var(--light);
}

.square.secondary {
    background-color: var(--secondary);
    color: var(--dark);
}


.square i {
    font-size: 1.125rem;
}

/* 1. Sidebar */
.sidebar {
    height: 100vh;
    width: 280px;
    background-color: var(--light);
    border-right: 1px solid #73737439;
}

.sidebar .sidebar-title {
    color: #67798e;
}

.sidebar .nav-pills .nav-link {
    margin: 2px 0;
    transition: .25s all ease-in;
}

.sidebar .nav-pills .nav-link:not(.active) {
    color: #22262a;
}

.sidebar .nav-pills .nav-link.active,
.sidebar .nav-pills .show>.nav-link {
    --bs-nav-pills-link-active-color: var(--dark);
    --bs-nav-pills-link-active-bg: var(--secondary);
}

.sidebar .nav-pills .nav-link:not(.active):hover {
    color: var(--dark);
    background-color: #C9CF4538;
}

.sidebar .nav-pills .nav-link i {
    height: 25px;
    width: 25px;
    background-color: #C9CF4538;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    padding: 7px;
}

/* End sidebar */

/* 2. Header */
.header {
    background-color: var(--light);
}

.header #breadcrumb {
    --bs-breadcrumb-divider: '>';
    display: inline-flex;
    justify-content: center;
    align-items: start;
}

.header .breadcrumb {
    margin-bottom: 0;
}

.header .breadcrumb .breadcrumb-item,
.header .breadcrumb .breadcrumb-item a {
    color: #67798e;
    font-size: 0.75rem;
    font-weight: 400;
}

.header .breadcrumb .breadcrumb-item.active {
    color: var(--primary-dark);
}

.header .breadcrumb .breadcrumb-item i {
    color: var(--primary-dark);
}

.avatar {
    --avatar-bg-color: var(--dark-primary);
    --avatar-color: var(--light);
    width: 35px;
    height: 35px;
    border: #414a55;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    background-color: var(--avatar-bg-color);
    color: var(--avatar-color);
}

.avatar.secondary {
    --avatar-bg-color: var(--dark-secondary);
    --avatar-color: var(--dark-blue-green);
}

/* End Header */

/* 3. Content */
.content {
    position: relative;
    justify-self: end;
    width: 100vw;
}

/* 4. Table */
.table thead th {
    background-color: var(--primary);
    color: var(--light);
    font-size: 0.876rem;
    font-weight: 600;
    box-shadow: #63636333 0px 2px 8px 0px;
}

.table tbody td {
    font-size: 0.84rem;
}

/*  =========================================
*   === 3. Forms ===
*   =========================================
*/
.form-control,
.form-select {
    --bs-border-color: #b6b6b6;
    --bs-border-width: 2px;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
    font-size: 0.875rem;
}

.form-control:focus,
.form-select:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0px #4a90e21a !important;
}

/*  =========================================
*   ================== FOOTER ==================
*/
footer {
    background: url(../images/pattern.png), var(--dark-blue-green) !important;
    color: var(--light) !important;
    font-size: 14px;
    letter-spacing: 0.2px;
}

footer #copyright {
    border-top: 0.5px solid #8bca3468;
}


/*  =========================================
*   ================== END FOOTER ==================
*/


/*  ===============================================
*   ============== Variables Global ===============
*/

*::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px var(--light);
    background-color: var(--light);
}

*::-webkit-scrollbar {
    width: 10px;
    background-color: var(--light);
}

.sidebar::-webkit-scrollbar {
    width: 5px;
    background-color: var(--light);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--primary) !important;
}

::selection {
    background-color: var(--secondary);
    color: var(--dark);
}

:root {
    --primary: #00719D;
    --dark-primary: #141F39;
    --secondary: #C9CF45;
    --dark-secondary: #8CCA34;
    --dark-blue-green: #012E3F;
    --dark-green: #19352D;
    --dark: #000000;
    --light: #ffffff;
    --gray: #f0f0f0;
    --light-blue: #EBF3EE;

    --ff-title: "Nata Sans", serif;
    --ff-source: "Inter", sans-serif;
}