@charset "UTF-8";

/*!
 * Version - 1.1.1
 * Copyright (c) 2026 2A Digital <info@2adigital.site>
 * 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 fournis.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css');
@import url('../vendor/bootstrap/css/bootstrap.min.css');
@import url('color.css?ver=12');
@import url('typography.css?');

/*  ==========================================
*   ================= GENERAL ================
*/
* {
    font-family: var(--ff-source);
    font-weight: 300;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: #f6f8fb;
    font-size: 0.875rem;
    color: #373f2c;
}

a {
    text-decoration: none !important;
}

a {
    text-decoration: none !important;
}

.dropdown:hover>.dropdown-menu {
    display: block;
}

/*  ==============================================
*   =================== CUSTOM ===================
*/

/* 0. Widget */
.square {
    width: 50px;
    height: 50px;
    background-color: #f1f5fb;
    color: var(--secondary-dark);
    border-radius: .25rem !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.square.primary {
    background-color: var(--secondary-dark);
    color: var(--light);
}


.square i {
    font-size: 1.125rem;
}


/* End Widget */

/* 1. Sidebar */
.sidebar {
    height: 100vh;
    width: 280px;
    background-color: #fffdf5;
    border-right: 1px solid #73737439;
}

.sidebar .sidebar-title {
    color: #67798e;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.08em;
    padding: 18px 12px 8px;
}

.sidebar .nav-pills .nav-link {
    height: 46px;
    display: flex;
    align-items: center;
    margin: 2px 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    gap: 12px;
    padding: 0px 14px;
    border-radius: 7px;
    transition: var(--transition);
}

.sidebar .nav-pills .nav-link:not(.active) {
    color: #414a55;
}

.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: #d19f3c38;
}

.sidebar .nav-pills .nav-link i {
    height: 25px;
    width: 25px;
    background-color: #d19f3c38;
    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: #A50104;5C15D */
    --avatar-bg-color: #F1BB87;
    --avatar-color: #111111;
    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);
}


/* End Header */

/* 3. Content */
.content {
    position: relative;
    justify-self: end;
    width: 100vw;
}

.content-title h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0px;
}

/* End content */

/* 4. Forms */
.form-control {
    --bs-body-color: var(--dark);
    --bs-border-color: #47474769;
    font-size: 0.875rem;
}

.form-label {
    font-size: 0.688rem;
    font-weight: 500;
    margin-bottom: 0;
}

.invalid-feedback {
    font-size: 0.688rem;
    color: var(--primary-dark);
}

textarea[target-summernote] {
    font-family: var(--ff-source) !important;
    font-size: 13px !important;
}

/* End Forms */

/* 5. Table */
.table thead th {
    background-color: #fafafa;
    font-size: 0.876rem;
    font-weight: 600;
    box-shadow: #63636333 0px 2px 8px 0px;
}

.table tbody td {
    /* font-size: 0.75rem; */
    font-size: 0.80rem;
}

/* End Table */

/* 6. Badge */
.badge {
    --bs-badge-padding-x: 0.75em;
    --bs-badge-padding-y: 0.45em;
    --bs-badge-font-size: 0.75em;
    --bs-badge-font-weight: 700;
}

.badge {
    --bs-badge-padding-x: 0.75em;
    --bs-badge-padding-y: 0.45em;
    --bs-badge-font-size: 0.75em;
    --bs-badge-font-weight: 700;
}

.badge-success {
    background: var(--success-bg);
    color: #15803d;
}

.badge-app {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.badge-app::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* End Badge */

/* 7. Pagination */
.pagination {
    --bs-pagination-color: var(--dark);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: var(--primary-dark);
    --bs-pagination-active-border-color: var(--primary-dark);
}

/* End Pagination */

/* =====================================================
   STAT CARDS
===================================================== */
.stats-grid {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.stat-card:hover,
.stat-card.hover {
    transform:
        translateY(-5px);
    box-shadow:
        var(--shadow);
}

.stat-content span {
    display: block;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 8px;
}

.stat-content strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    color: var(--black);
    letter-spacing: -.04em;
    margin-bottom: 10px;
}

.stat-content small {
    font-size: 12px;
    font-weight: 600;
}

.positive {
    color: var(--success);
}

.warning {
    color: var(--warning);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

.stat-icon.green {
    background:
        linear-gradient(135deg,
            #00913e,
            #00c853);
}

.stat-icon.blue {
    background:
        linear-gradient(135deg,
            #2563eb,
            #60a5fa);
}

.stat-icon.purple {
    background:
        linear-gradient(135deg,
            #7c3aed,
            #c084fc);
}

.stat-icon.orange {
    background:
        linear-gradient(135deg,
            #ea580c,
            #fb923c);
}

/* =====================================================
   TABLE PREMIUM
===================================================== */
.table-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom:
        1px solid var(--border);
}

.table-header h2 {
    margin: 0;
    font-size: 18px;
    color: var(--black);
}

.table-actions {
    display: flex;
    gap: 10px;
}

.table-responsive {
    overflow-x: auto;
}

.table-app {
    width: 100%;
    border-collapse: collapse;
}

.table-app thead {
    background: #fafbfc;
}

.table-app th {
    text-align: left;
    padding: 16px 24px;
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}

.table-app td {
    padding: 18px 24px;
    border-top:
        1px solid #f1f5f9;
    font-size: 14px;
    color: var(--text);
}

.table-app tbody tr {
    transition: var(--transition);
}

.table-app tbody tr:hover {
    background: #fafdfb;
}

.company-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
}

.company-info strong {
    display: block;
    color: var(--black);
    font-size: 14px;
}

.company-info span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
}

/* =====================================================
   ICON ACTIONS
===================================================== */
.action-group {
    display: flex;
    gap: 8px;
}

.icon-action {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: var(--transition);
}

.icon-action:hover {
    background: #f8fafc;
    color: var(--primary);
    transform: translateY(-2px);
}

.icon-action.danger:hover {
    color: var(--danger);
    background: #fff1f2;
}

/*  ==============================================
*   ================= END CUSTOM =================
*/

/*  ==========================================
*   ================ VARIABLES ================
*/

::selection {
    background-color: var(--primary-shiny);
    color: var(--dark);
}

:root {
    --primary: #f18511;
    --primary-shiny: #ff9f1c;
    --secondary: #00421d;
    --secondary-shiny: #00c853;
    --secondary-dark: #022d1c;
    --dark-gray: #1E1E1D;
    --dark: #000000;
    --danger: #830505;
    --light: #ffffff;
    --beige: #fef4db;
    --gray: #2a2a2a;

    --transition: .25s cubic-bezier(.4, 0, .2, 1);

    /* Status */
    --success: #16a34a;
    --success-bg: #dcfce7;
    --warning: #d97706;
    --warning-bg: #fef3c7;
    --danger: #dc2626;
    --danger-bg: #fee2e2;
    /* Shadows */
    --shadow-sm:
        0 2px 8px rgba(15, 23, 42, .04);
    --shadow:
        0 10px 35px rgba(15, 23, 42, .06);
    --shadow-lg:
        0 25px 60px rgba(15, 23, 42, .10);
    /* Radius */
    --radius-sm: 7px;
    --radius: 13px;
    --radius-lg: 28px;

    --ff-source: "Inter", sans-serif;
}