﻿/**Fonts*/
:root {
    --main-color: #016b68;
    --primary-color: #7fbf41;
    --gray-color: #6f7070;
    --error-color: #c31161;
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #9365d5;
    --pink: #e83e8c;
    --red: #ff6686;
    --orange: #ff8155;
    --yellow: #ffc107;
    --green: #00bf6f;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #1491fb;
    --global: #8cc63d;
    --secondary: #6c757d;
    --success: #00bf6f;
    --info: #62d0f6;
    --warning: #ffd13a;
    --danger: #ff6686;
    --light: #f8f9fa;
    --dark: #000;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    /* Custom properties for easy color tweaking */
    --card-bg: #fff;
    --card-border: #ddd;
    --card-radius: 12px;
    /* Gradient for header background */
    --header-bg: linear-gradient(120deg, #016b68, #7fbf41);
    --header-color: #ffffff;
    /* Example main colors for DataTables */
    --dt-header-bg: #10615f;
    --dt-header-color: #ffffff;
    --dt-header-border: #ddd;
}

html {
    --muneer-color: #10615f !important;
    --muneer-color-accent: #1faf6f6b !important;
    --muneer-color-transparent: #eaf6ef !important;
    --muneer-text: #414042 !important;
    --muneer-btn-bg: #84BC47 !important;
    --muneer-btn-color-hover: #84BC47 !important;
}
@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal/Tajawal-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../fonts/Tajawal/Tajawal-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face{
    font-family:'DIN';
    src:url('../fonts/DIN/DIN-Regular.ttf')format('truetype');
    font-weight:normal;
    font-style:normal;
}
@font-face {
    font-family: 'DIN';
    src: url('../fonts/DIN/DIN-Bold.ttf')format('truetype');
    font-weight: bold;
    font-style: normal;
}
/* DINPro Series (Latin) */
@font-face {
    font-family: 'DINPro';
    src: url('fonts/DINPro/DINPro-Light.otf') format('opentype');
    font-weight: 300; /* Light */
    font-style: normal;
}

@font-face {
    font-family: 'DINPro';
    src: url('fonts/DINPro/DINPro-Bold.otf') format('opentype');
    font-weight: 700; /* Bold */
    font-style: normal;
}

@font-face {
    font-family: 'DINPro';
    src: url('fonts/DINPro/DINPro-Black.otf') format('opentype');
    font-weight: 900; /* Black */
    font-style: normal;
}

/* DIN NEXT Arabic Series */
@font-face {
    font-family: 'DIN NEXT ARABIC';
    src: url('../fonts/DINPro/DIN-NEXT-ARABIC-REGULAR.otf') format('opentype');
    font-weight: 400; /* Regular */
    font-style: normal;
}

@font-face {
    font-family: 'DIN NEXT ARABIC';
    src: url('../fonts/DINPro/DIN-NEXT-ARABIC-MEDIUM.otf') format('opentype');
    font-weight: 500; /* Medium */
    font-style: normal;
}

@font-face {
    font-family: 'DIN NEXT ARABIC';
    src: url('../fonts/DINPro/DIN-NEXT-ARABIC-LIGHT.otf') format('opentype');
    font-weight: 300; /* Light */
    font-style: normal;
}

@font-face {
    font-family: 'DIN NEXT ARABIC';
    src: url('../fonts/DINPro/DIN-NEXT-ARABIC-BOLD.otf') format('opentype');
    font-weight: 700; /* Bold */
    font-style: normal;
}

/* 2. Apply the font to the entire body */
body {
    color: var(--main-color) !important;
    font-family: 'Tajawal', Arial, sans-serif !important;
    font-weight: 400 !important; /* Default to regular weight */
    font-size:14px!important; /* Uses the html base size */
    margin: 0!important;
    padding: 0!important;
}
html {
    font-family: 'Tajawal', Arial, sans-serif !important;
    font-weight: 400 !important; /* Default to regular weight */
    font-size: 14px!important; /* Common default size - equals 100% or 1rem */
    line-height: 1.5!important; /* Improves readability */
}
p {
    font-family:'DIN NEXT ARABIC'!important;
    font-size: 14px !important;
    font-weight: 900 !important;
}
.welcome {
    font-family: 'DIN NEXT ARABIC' !important;
    font-size: 16px !important;
    font-weight: bolder !important;
}
label {
    font-family:'DIN NEXT ARABIC' !important;
    font-size: 14px !important;
    font-weight:900 !important;
}
.form-control {
    font-size: 14px!important;
    font-weight:bold!important;
}
.form-select {
    font-size: 14px !important;
    font-weight:bold!important;
}

.page-title-box .page-title {
    font-size: 15px !important;
    font-weight: bold !important;
    font-family: 'DIN NEXT ARABIC' !important;
}

/* Utility classes for different font weights */
.font-thin {
    font-weight: 100;
}

.font-extra-light {
    font-weight: 200;
}

.font-light {
    font-weight: 300;
}

.font-regular {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semi-bold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extra-bold {
    font-weight: 800;
}

.font-black {
    font-weight: 900;
}

/* app-custom.css */

h2.section-title, h1.section-title {
    color: #016b68;
    font-size: 2.25rem;
}


/*Navbar*/
.navbar-custom {
    background-color: var(--main-color) !important;
}

    .navbar-custom .nav-link {
        color: var(--white) !important;
    }


.custome-card {
    border-radius: 20px 35px !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #fff;
    margin: 10px 10px;
}

.search-header {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius:1px !important;
    margin: 0;
}

/*Modal*/
.modal-title {
    font-family: inherit !important; /* Inherit from body */
    border-radius: 1px !important;
    font-size: 16px !important;
    font-weight:bold!important;
}

.modal-content .modal-header {
    background-color: var(--main-color);
}



/*DataTables*/
/* 1) For regular DataTables header */
table.dataTable thead th {
    background: var(--dt-header-bg);
    color: var(--dt-header-color);
    border-bottom: 1px solid var(--dt-header-border);
    /* Padding and font-weight for nicer look */
    padding: 0.75rem;
    font-weight:900;
    text-align: right !important;
    font-family: 'DIN NEXT ARABIC' !important;
}

/* 2) If you use DataTables scrolling (scrollX/scrollY),
   the header might be in a separate .dataTables_scrollHead table */
.dataTables_scrollHead th {
    background: var(--dt-header-bg) !important;
    color: var(--dt-header-color) !important;
    border-bottom: 1px solid var(--dt-header-border) !important;
}


/**Buttons*/
.search-btn {
    display: inline-block;
    border: none;
    border-radius: 15px;
    background-color: var(--main-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

    .search-btn:hover {
        background-color: var(--primary-color);
    }

.delete-btn {
    display: inline-block;
    border: none;
    border-radius: 15px;
    background-color: #dc3545;
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.save-btn {
    display: inline-block;
    border: none;
    border-radius: 15px;
    background-color: #28a745;
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.new-btn {
    display: inline-block;
    border: none;
    border-radius: 15px;
    background-color: #007bff;
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

    .new-btn::before {
        content: "+ ";
    }

.addButton {
    float: left !important;
    top: -24px !important;
    left: -15px !important;
}

.btn-esco-green {
    color: #fff !important;
    background-color: var(--main-color) !important;
    border-color: #005a3b !important;
}

.dataTables_wrapper .dataTables_length {
    float: right !important;
}

.btn {
    font-family: inherit;
}

.dropdown-item {
    font-family: inherit;
    font-size: 13px!important;
    /* Add additional styling as needed */
}

    .dropdown-item i {
        /* Ensure icons inherit the link's color or other styles if desired */
        color: inherit;
        /* Add margin-right for spacing between icon and text */
        margin-right: 0.5rem;
    }

.btn-secondary {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.btn-main {
    background-color: var(--main-color) !important;
    color: var(--white) !important;
}

.btn-primary {
    color: #fff;
    background-color: var(--primary-color) !important;
    border-color: var(--main-color) !important;
    transition: background-color 0.3s ease;
    font-size: 14px!important;
}
.btn {
    font-size: 14px !important;
}
    .btn-primary:hover {
        /* Using mix-blend-mode requires a background color change for visual effect */
        background-color: var(--main-color) !important;
        border-color: var(--primary-color) !important;
        mix-blend-mode: multiply; /* This will multiply both colors which can be seen as mixing */
    }

select.form-control option {
    color: #000 !important; /* Black text */
    background-color: #fff !important; /* White background */
}

.wizerd-icon{
    font-size:15pt!important;
    color:var(--primary-color)!important;
}
.wizerd-Tab{
    font-size:16pt!important;
    color:var(--main-color)!important;
    font-family:inherit!important;
}

/*Reject button*/
.reject-btn {
    margin-top: 10px;
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .reject-btn:hover {
        background-color: #c82333;
    }

    .reject-btn:active {
        background-color: #a71d2a;
    }


.image-preview {
    position: relative;
    display: inline-block;
}

.remove-image {
    font-size: 16px;
    border: none;
    background: red;
    color: white;
    cursor: pointer;
    padding: 0px 8px;
    border-radius: 50%;
}
/*****************************************/
/******************Cards*****************/
/***************************************/
.card-body .header-box {
    background-color: #016b68 !important;
}
.bg-primary {
    background-color: var(--main-color) !important;
}
.bg-secondary {
    background-color: var(--primary-color) !important;
}
.black-color{
    color:black!important;
}
.card .details {
    background-color: #f8f9fa !important;
    color:var(--dark)!important;
    font-size:14pt!important;
    font-weight:bold!important;
}
.title-text, .card-title ,.card-header{
    font-size: 14px !important;
    font-weight: bold !important;
    font-family: 'DIN NEXT ARABIC' !important;
}
.card-title, .card-header {
    color: var(--main-color) !important;
}
    /*************************************/
    /********Error color*****************/
    /************************************/
    .error-field {
        border: 1px solid red !important;
    }


/*************************************/
/*********Side Bar********************/
/*************************************/

/* Sidebar Container */
.left-sidenav {
    width: 250px;
    background-color: white;
    color: var(--primary-color);
}
    /* Brand/Logo Section */
    .left-sidenav .brand {
        padding: 20px;
        text-align: center;
    }

        .left-sidenav .brand .logo {
            display: inline-block;
        }
/* Menu Items */
.left-sidenav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .left-sidenav-menu li {
        position: relative;
    }

        .left-sidenav-menu li a.nav-link {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            color: #016b68;
            font-weight: bold;
            font-family: 'Tajawal', sans-serif !important;
            text-decoration: none;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

            .left-sidenav-menu li a.nav-link:hover,
            .left-sidenav-menu li a.nav-link:focus {
                background-color: #7fbf41;
                color: #016b68;
            }

.menu-label {
    padding: 12px 20px;
    font-weight: bold;
    font-size: 0.9em;
}
/* Second-Level Menu */
.nav-second-level {
    list-style: none;
    padding-left: 20px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

    .nav-second-level li a.nav-link {
        padding: 10px 20px;
        font-size: 0.9em;
        color: #016b68;
    }

        .nav-second-level li a.nav-link:hover,
        .nav-second-level li a.nav-link:focus,
        .nav-second-level li a.nav-link:active {
            background-color: #fff;
            color: #7fbf41;
            font-size: 1em;
        }
/* Arrow Icon */
.menu-arrow i {
    transition: transform 0.3s ease;
}

    .menu-arrow i.rotate {
        transform: rotate(90deg);
    }


.left-sidenav-menu .menu-label {
    font-size: 14px !important;
    text-align: center;
    font-family: 'DIN NEXT ARABIC' !important;
}

/* Mobile Sidebar Toggle */
@media (max-width: 768px) {
    .left-sidenav {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        transform: translateX(-100%);
        z-index: 9999;
    }

        .left-sidenav.open {
            transform: translateX(0);
        }
}


/**Login*/

.account-body .auth-header-box {
    background-color: #fff!important;
}

.logo-img {
    max-width: 50% !important;
    height: auto !important;
}

  /******************************************/
 /***************Dashboard******************/
/******************************************/










/* Responsive adjustments */
@media (max-width: 768px) {
    html {
        font-size: 14px; /* Slightly smaller base for mobile */
    }

    .page-title-box .page-title {
        font-size: 14px !important;
    }

    .title-text, .card-title, .card-header {
        font-size: 14px !important;
    }
}


.page-title-box .breadcrumb,
.page-title-box .breadcrumb a {
    font-family: inherit !important;
}


/*Tables in Reports*/
.table-auto-width th,
.table-auto-width td {
    white-space: nowrap!important; /* Prevent line break */
    width: 1%!important; /* Force auto-fit content */
}

/*Logo in side bar*/
.logo-wrapper {
    width: 60px;
    height: 60px;
    display: inline-block;
}

.sidebar-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%; /* makes it circular */
    object-fit: cover; /* keeps image centered/cropped */
    border: 3px solid #016b68; /* visible border */
    display: block;
}



/*******Dashboard style october 2025********/
.card-stats:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.card-stats {
    cursor: pointer;
    transition: all 0.3s ease;
}

    .card-stats i {
        transition: transform 0.3s ease;
    }

    .card-stats:hover i {
        transform: scale(1.2);
    }


#equipmentAllChartLegend_[id] div {
    font-size: 13px;
    color: #555;
}


