
/*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLmNzcyIsInNvdXJjZXMiOlsiY3VzdG9tLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9 */

/*# sourceMappingURL=custom.css.map */

 :root {
     --primary: #214f7a;
     --primary-dark: #173955;
     --primary-shadow-soft: rgba(33, 79, 122, 0.22);
     --primary-shadow: rgba(23, 57, 85, 0.3);
     --secondary: #5f7891;
     --accent: #e58a43;
     --accent-dark: #c66f2f;
     --accent-soft: rgba(229, 138, 67, 0.18);
     --danger-soft: #d8898c;
     --danger: #c52c31;
     --gray-100: #f7f9fc;
     --gray-150: #edf2f7;
     --gray-200: #e1e8f0;
     --gray-250: #d4dde8;
     --gray-300: #c4cfdd;
     --gray-350: #b6c3d3;
     --gray-400: #a8b6c8;
     --gray-450: #8e9fb5;
     --gray-500: #73879f;
     --gray-550: #5f7288;
     --gray-600: #4e6073;
     --gray-650: #425365;
     --gray-700: #364454;
     --gray-750: #2e3946;
     --gray-800: #252e38;
     --gray-900: #1a222b;
     --white: #fff;
     --white-rgb: 255, 255, 255;
     --black-rgb: 0, 0, 0;
     --black-overlay: rgba(18, 20, 24, 0.35);
     --shadow-muted: rgba(31, 35, 41, 0.35);
     --success: var(--primary);
     --green: var(--primary);
 }

.form-control:focus, .was-validated .form-control:valid:focus,
.form-control.is-valid:focus,.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: var(--primary) !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Keep all success/green UI states aligned with the primary brand color */
.btn-success,
.btn-success.disabled,
.btn-success:disabled,
.badge-success,
.bg-success,
.alert-success,
.list-group-item-success {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success:not(:disabled):not(.disabled):active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px var(--primary-shadow-soft) !important;
}

.btn-outline-success {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active,
.btn-outline-success:not(:disabled):not(.disabled):active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}

.text-success,
a.text-success {
    color: var(--primary) !important;
}

a.text-success:hover,
a.text-success:focus,
.border-success {
    color: var(--primary-dark) !important;
    border-color: var(--primary) !important;
}

.buttons-excel {
    background-color: var(--primary) !important;
}

.btn-primary,
.btn-primary.disabled,
.shadow-primary,
.nav-pills .nav-item .nav-link.active,
.accordion .accordion-header[aria-expanded="true"],
.card .card-header h4 + .card-header-action .btn.active,
.sidebar-mini .main-sidebar .sidebar-menu > li.active > a {
    box-shadow: 0 2px 6px var(--primary-shadow) !important;
}

/*.input-group-prepend {*/
/*    width: 50px !important;*/
/*}*/


.loading_pr_white {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(var(--white-rgb), 0.7);
    z-index: 9;
}
.mfp-preloader_white {
    color: var(--gray-500);
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    text-align: center;
    margin-top: -12px;
    margin-left: -12px;
    z-index: 1044;
    text-indent: -9999px;
    background: var(--white) url("../img/ajax-loader.gif") no-repeat center center;
}

.container-test {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid var(--gray-250);
}

/* Make the image to responsive */
.image-test {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* The overlay effect - lays on top of the container and over the image */
.overlay-test {
    position: absolute;
    bottom: 0;
    background: rgb(var(--black-rgb));
    background: var(--black-overlay); /* Black see-through */
    width: 100%;
    height: 100%;
    padding-top: 80%;
    transition: .5s ease;
    opacity:0;
    color: var(--white);
    font-size: 20px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
}

/* When you mouse over the container, fade in the overlay title */
.container-test:hover .overlay-test {
    opacity: 1;
}

.dataTables_scrollBody {
    transform:rotateX(180deg);
}
.dataTables_scrollBody table {
    transform:rotateX(180deg);
}

.table.my-table {
    border-spacing: 0px;
}

table.dataTable.no-footer{
    border-bottom:0px !important
}

.table.my-table tr td:last-child {
    text-align: right;
    width: 100px;
    min-width: 100px;
}

.table.my-table td {
    border-bottom: 1px solid var(--gray-400) !important;
    padding: 0.25rem !important;
}

.table.my-table th {
    padding: 0.5rem !important;
}

.table.my-table td .btn {
    padding: 0.2rem 0.4rem;
    font-size: 10px;
    box-shadow: none !important;
    border-radius: 4px !important;
    width: 30px;
    height: 30px;
    background-color: var(--gray-350);
    border-color: var(--gray-350);
    color: var(--gray-800);
}

.table.my-table td .btn:hover {
    background-color: var(--gray-550) !important;
    color: var(--gray-800) !important;
}

.table.my-table td a.row-link {
    color: var(--gray-900);
    transition: color 0.5s ease;
}

.table.my-table td a.row-link:hover {
    color: var(--primary);
    text-decoration: none;
}

.my-table.table-bordered td, .my-table.table-bordered th {
    border: 0;
}

.table.my-table th.sorting,
.table.my-table th.sorting {
    transition: color 0.5s ease;
}

.table.my-table th.sorting:hover,
.table.my-table th.sorting:hover {
    color: var(--primary);
}

.table.my-table th.sorting_asc,
.table.my-table th.sorting_desc {
    color: var(--primary);
}

.table.my-table th.sorting:before,
.table.my-table th.sorting:after {
    content: "";
}

.table.my-table th.sorting_asc:before,
.table.my-table th.sorting_desc:before{
    content: "";
    display: none !important;
}

.table.my-table th.sorting_asc:after,
.table.my-table th.sorting_desc:after {
    content: "\2191";
    position: relative;
    left: 5px;
    color: var(--primary);
    opacity: 1 !important;
    display: inline !important;
    bottom: 0 !important;
}

.table.my-table th.sorting_desc:after {
    content: "\2193";
}

.card-header h3 {
    font-size: 1.25rem !important;
}

textarea.form-control {
    height: 85px !important;
}

.form-group {
    margin-bottom: 0.5rem !important;
}

.nav-tabs {
    background-color: var(--gray-100);
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.nav-tabs li.nav-item a {
    color: var(--gray-750) !important;
}

.nav-tabs li.nav-item a.active {
    color: var(--primary) !important;
}

.form-group label:not(.custom-label) {
    line-height: 18px !important;
    margin-bottom: 0.25rem !important;
}

/* Editable Table */
.table tbody.editable tr td input.form-control {
    border-color: var(--white);
    background-color: var(--white);
    width: 100%;
    border-radius: 0 !important;
    transition: border-color 0.5s ease;
}

.table tbody.editable tr td input.form-control:focus {
    border-color: var(--primary);
}

.table tbody.editable tr td select.form-control-sm.combo {
    padding: .25rem .5rem !important;
    height: 31px !important;
    border-color: var(--white) !important;
}

.table.table-editable th {
    background-color: var(--gray-150);
    color: var(--gray-650);
    padding-left: 0.5rem;
    font-weight: 400;
    border-color: var(--gray-400) !important;
    border-bottom: 1px solid var(--gray-400) !important;
}

.table.table-editable td {
    padding: 0 !important;
    border-color: var(--gray-400) !important;
}

.table.table-editable-large td {
    padding: 0.3rem !important;
    padding-left: 0.5rem !important;
}

.table.table-editable:not(.no-buttons) tr th:last-child {
    min-width: 25px;
    width: 1%;
    border: 0;
    background-color: var(--white);
    border-bottom: 0 !important
}

.table.table-editable-large tr th:last-child {
    min-width: 60px !important;
}

.table.table-editable:not(.no-buttons) tr td:last-child {
    text-align: center;
    border: 0;
    padding-top: 2px !important;
    vertical-align: bottom;
}

.table.table-editable tr td:last-child a {
    font-size: 20px;
    line-height: 20px;
}

.table.table-editable tr td:last-child a.browse {
    color: var(--secondary) !important;
}

.table.table-editable tr td:last-child a.delete {
    color: var(--danger-soft) !important;
    margin-left: 0;
}

.table.table-editable-large tr td:last-child a.delete {
    color: var(--danger-soft) !important;
    margin-left: 3px;
}

.form-group .selectgroup.selectgroup-pills .selectgroup-item i {
    margin-right: 5px;
    /*color: var(--primary);*/
}

.form-group select.form-control-sm.combo {
    padding: .25rem .5rem !important;
    height: 31px !important;
}

.form-group .banner-div .select2 {
    width: 100% !important;
}

/* Image Upload In Table */
.table-editable .custom-file {
    height: 31px !important;
}

.table-editable .custom-file-input {
    height: 31px !important;
}

.table-editable .custom-file-label {
    height: 31px !important;
    line-height: 21px !important;
    /*border-color: #fff !important;*/
    border-radius: 0 !important;
    background-color: var(--white) !important;
    margin-bottom: 0 !important;
    border: 0;
}

.table-editable .custom-file span {
    display: inline;
    position: absolute;
    margin-left: -20px;
    z-index: 10;
    font-size: 20px;
    color: var(--secondary);
    cursor: pointer;
    margin-top: 1px;
}

.table-editable .custom-file-label::after {
    line-height: 21px !important;
    content: "" !important;
    border-radius: 0 !important;
    background-color: var(--white) !important;
    height: 29px !important;
}

.image-preview .badge {
    padding: 4px;
    font-size: 10px;
    margin-left: 5px;
}

.main-content {
    padding-top: 100px !important;
}

.nav-pills .nav-item .nav-link.active {
    box-shadow: none;
}

.tab-company {
    border-right: 1px var(--gray-400) solid;
}

@media (max-width: 768px) {
    .tab-company {
        border-right: 0;
    }
}

.input-group-sm .input-group-prepend .input-group-text {
    height: 31px;
}

.form-group .input-group-sm .input-group-prepend .input-group-text i {
    color: var(--primary);
}

.main-sidebar .sidebar-menu li a {
    height: 40px !important;
}

.avatar {
    box-shadow: 0 5px 15px var(--shadow-muted) !important;
}

.table.order-details-table tr th:first-child {
    width: 25%;
}

.table.order-details-table tr td:last-child {
    width: 75%;
    color: var(--gray-700);
    border: 1px solid var(--gray-200) !important;
}

.text-status {
    text-transform: none !important;
    color: var(--primary);
}

.activities .activity {
    min-height: 100px;
}

.activities .activity.canceled .text-status {
    text-transform: none !important;
    color: var(--danger);
}

.activities .activity .activity-icon {
    background-color: var(--primary) !important;
}

.activities .activity.canceled .activity-icon {
    background-color: var(--danger) !important;
}

.activities .activity.inactive .activity-icon {
    background-color: var(--gray-300) !important;
    color: var(--gray-450) !important;
}

.activities .activity.inactive:before,
.activities .activity.last-active:before{
    background-color: var(--gray-300) !important;
}

/*table.dataTable img {*/
/*    -webkit-box-shadow: none !important;*/
/*    box-shadow: none !important;*/
/*    border: 1px solid rgba(105,103,103,0.2) !important;*/
/*    border-radius: 0 !important;*/
/*    width: 80px;*/
/*    height: 40px;*/
/*}*/

.card {
    border-radius: 0 !important;
}

.btn.form-action,
.card-header .btn {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    box-shadow: none !important;
    border-radius: 4px !important;
}

.btn.form-action {
    width: 100px;
}

.badge.badge-custom {
    background-color: var(--gray-600);
    color: var(--white);
}

.my-table img {
    height: 45px;
    width: auto;
}

.main-footer a {
    font-weight: bold;
}

.main-footer a:hover {
    text-decoration: none;
    color: var(--primary-dark);
}

/* Keep header actions right-aligned without breadcrumb background styling */
.section .section-header .section-header-breadcrumb {
    margin-left: auto;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.section .section-header .section-header-breadcrumb::before,
.section .section-header .section-header-breadcrumb::after {
    content: none !important;
    display: none !important;
}

/* Brand theme polish based on AFRIPOULCI logo colors */
body,
.main-content {
    background-color: #f5f8fb;
}

.navbar-bg {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    box-shadow: 0 8px 20px rgba(23, 57, 85, 0.12);
}

.main-sidebar {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border-right: 1px solid var(--gray-200);
}

.main-sidebar .sidebar-brand,
.main-sidebar .sidebar-brand-sm {
    background: transparent !important;
}

.main-sidebar .sidebar-menu > li > a {
    border-radius: 8px;
    margin: 4px 10px;
    width: calc(100% - 20px);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.main-sidebar .sidebar-menu > li > a:hover {
    background-color: rgba(33, 79, 122, 0.08);
    color: var(--primary) !important;
}

.sidebar-mini .main-sidebar .sidebar-menu > li.active > a,
.main-sidebar .sidebar-menu > li.active > a {
    background: linear-gradient(90deg, rgba(33, 79, 122, 0.12), rgba(229, 138, 67, 0.1));
    color: var(--primary) !important;
    border-left: 3px solid var(--accent);
}

.section .section-header {
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(23, 57, 85, 0.06);
}

.card {
    border: 1px solid var(--gray-200);
    box-shadow: 0 10px 24px rgba(23, 57, 85, 0.05);
    background-color: #fff;
}

.card .card-header {
    border-bottom: 1px solid var(--gray-200);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.btn-primary,
.btn-success {
    background-image: linear-gradient(90deg, var(--primary), #2a648f) !important;
}

.btn-warning,
.badge-warning {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}

.btn-warning:hover,
.btn-warning:focus {
    background-color: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
}

.page-item.active .page-link {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.page-link {
    color: var(--primary);
}

.page-link:hover {
    color: var(--primary-dark);
    background-color: rgba(33, 79, 122, 0.06);
}

.nav-tabs li.nav-item a.active {
    color: var(--primary) !important;
    border-bottom: 2px solid var(--accent);
}

.table thead th {
    color: var(--primary-dark);
}

.main-footer {
    border-top: 1px solid var(--gray-200);
    background-color: #fbfdff;
}
