/*===============================
    Xavier Responsive Admin Theme
    Author : Angry Frog
================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/*===============================
    MAIN
================================= */
html {
    width: 100%;
}
body {
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #3B3F40;
    font-size: 13px;
    color: #333333;
    overflow-x: hidden;
    width: 100%;
    -ms-overflow-style: scrollbar;
}
a:link, a:visited {
    text-decoration: none;
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 200;
}

h2 {
    font-size: 24px;
}

hr {
    border-color: rgba(0, 0, 0, 0.05);
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, 
.col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, 
.col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, 
.col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, 
.col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, 
.col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, 
.col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, 
.col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    position: relative;
    min-height: 1px;
    padding-right: 12px;
    padding-left: 12px;
}

.h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, 
.h4 .small, .h4 small, .h5 .small, .h5 small, .h6 .small, .h6 small, 
h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small, 
h4 .small, h4 small, h5 .small, h5 small, h6 .small, h6 small {
    font-weight: 100;
    line-height: 1;
    color: inherit;
}

a {
    transition: color 100ms ease-in-out;
    -o-transition: color 100ms ease-in-out;
    -ms-transition: color 100ms ease-in-out;
    -moz-transition: color 100ms ease-in-out;
    -webkit-transition: color 100ms ease-in-out;
}

#page-wrapper {
    width: 100%;
    overflow-x: hidden;
}
#page-content {
    padding: 0 25px 40px 25px;
    min-height: 1150px;
    position: relative !important;
    height: 100%;
    margin: 0 0 0 200px;
}

.mar-top-10 {
    margin-top: 10px;
}
.mar-btm-10 {
    margin-bottom: 10px;
}

.padding-10 {
    padding: 10px;
}

/*===============================
    LOGO
================================= */
#logo-element {
    width: 200px;
    height: 60px;
    background: rgba(0, 0, 0, 0.14);
    margin: auto;
}
.logo {
    font-size: 50px;
    font-weight: 900;
    letter-spacing: -1px;
    display: inline-block;
    line-height: 58px;
    padding: 0 0 10px 18px;
    text-decoration: none;
}
.logo-full {
    color: #FFF;
}
.x-hidden {
    color: #e1a101;
}

/*===============================
    TITLE HEADER
================================= */
.title-header {
    background-color: #FFF;
    margin: 0px -25px 20px;
    min-height: 101px;
}
.title-header h2 {
    margin-top:0px;
    padding-top: 20px;
}
.title-header h2, .breadcrumb {
    padding-left: 20px;
}
.title-header > i {
    font-size: 44px;
    float: right;
    color: #4F5253;
    margin: 20px 30px 0 30px;
    line-height: 64px;
    -ms-transform: rotate(7deg); /* IE 9 */
    -webkit-transform: rotate(7deg); /* Chrome, Safari, Opera */
    transform: rotate(7deg);
}
.breadcrumb {
    background-color: inherit;
    margin-bottom: 0px;
}

/*===============================
    Panels
================================= */
.panel {
    margin: 0 0 15px;
    padding: 0px;
    background-color: #ffffff;
    border: 1px solid #dbe1e8;
    border-radius: 0px;
    position: relative;
}
.panel-heading {
    padding: 0px;
    background-color: #f9fafc;
    border-bottom: 1px solid #eaedf1;
    border-radius: 0px;
}
.panel-heading i {
    margin-left: 15px;
    font-size: 15px;
}
.panel-heading .panel-options i {
    margin-left: 0px;
}
.panel-title {
    box-sizing: border-box;
    padding: 10px;
}
.panel-heading h1,
.panel-heading h2,
.panel-heading h3,
.panel-heading h4,
.panel-heading h5,
.panel-heading h6 {
    display: inline-block;
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    padding: 10px 16px 7px;
    font-weight: normal;
}
.panel-body {
    padding: 15px;
}

.panel-footer {
    background: rgba(0,0,0,.1);
    border-top: 0px;
    padding: 5px 15px;
    border-radius: 0px;
}
.panel-footer-link {
    text-align: right;
}
.panel-footer-link  a {
    color: #CCC;
}
.panel-footer-link a:focus, .panel-footer-link a:hover,
.panel-footer-link i a:focus, .panel-footer-link i a:hover {
    color: #FFF;
}

.panel-footer-link i {
    font-size: 11px;
}

.panel-options {
    margin: 0 6px;
    line-height: 37px;
}
.panel-options button.btn {
    min-width: 40px;
}
.panel-options ul.dropdown-menu i.oi {
    margin-right: 10px;
}

.panel-group .panel {
    border-radius: 0px;
}

/* Tabs */
.panel-heading .nav-tabs > li.active > a,
.panel-heading .nav-tabs > li.active > a:focus,
.panel-heading .nav-tabs > li.active > a:hover {
    border: 1px solid #eaedf1;
    border-bottom-color: #fff;
    background-color: #fff;
}
.panel-heading .nav-tabs {
    padding: 4px 1px 0;
    border-bottom: none;
}
.nav-tabs > li > a {
    margin-right: 2px;
    line-height: 1.4285;
    border: 1px solid transparent;
}
.nav-tabs > li > a {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 3px;
    margin-right: 3px;
    border-radius: 0;
}

.panel-options button:hover {
    background: #FFBC00;
}

.panel .minimise-panel .fas.fa-minus:before {
    content: '\f068';
}
.panel.minimized .minimise-panel .fas.fa-minus:before {
    content: '\f067';
}

/* Use to maximize panel to fill page */
.panel-fullsize {
  position: fixed;
  width: 100%;
  height: 100vh;
  overflow: auto;
  top: 0;
  left: 0;
  z-index: 9999;
}

.panel.panel-bordered{
    border: 1px solid;
}
.panel.panel-bordered.panel-success {
    border: 1px solid #9cc96b;
}
.panel.panel-bordered.panel-info {
    border: 1px solid #4ebcda;
}
.panel.panel-bordered.panel-primary {
    border: 1px solid #5fa2dd;
}
.panel.panel-bordered.panel-warning {
    border: 1px solid #ebaa4b;
}
.panel.panel-bordered.panel-danger {
    border: 1px solid #f76c51;
}

.panel.panel-noborder{
    border: 0px;
}

/*===============================
    GALLERY
================================= */
.gallery > .row > div {
    margin-bottom: 15px;
}
.gallery a img, .gallery img, .gallery-image img, a[data-toggle=lightbox-image] img {
    max-width: 100%;
}
.gallery a:hover img, .gallery-image:hover img, a[data-toggle=lightbox-image]:hover img {
    opacity: 0.75;
    filter: alpha(opacity=75);
}

/*===============================
    BACKGROUNDS
================================= */
.gray-bg {
    background-color: #F3F3F4;
}
.white-bg {
    background-color: #FFF;
}
.warm-blue-bg {
    background-color: #1F7BB6;
    color: #FFF;
}
.purple-bg {
    background-color: #986291;
    color: #FFF;
}
.red-bg {
    background-color: #F00000;
    color: #FFF;
}
.orange-bg {
    background-color: #fca311;
    color: #FFF;
}
.yellow-bg {
    background-color: #f29b12;
    color: #FFF;
}
.green-bg {
    background-color: #0E9E0E;
    color: #FFF;
}

/*===============================
    TABLES
================================= */
.borderless tbody tr td, .borderless tbody tr th, .borderless thead tr th {
    border: none;
}

/*===============================
    ICONS
================================= */
.panel .icon-bg {
    position: absolute;
    opacity: 0.8;
    left: 15px;
    top: 10px;
    font-size: 38px;
}
.displayoi {
    margin-top: 15px;
}
.displayoi .oi {
    font-size: 25px;
    margin-right: 10px;
}
.fa-item {
    margin-top: 15px;
}
.fa-item .fa {
    font-size: 25px;
    margin-right: 10px;
}

/*===============================
    FORM ELEMENTS
================================= */
.form-control {
    border-radius: 2px;
    color: #626262;
}
.form-inline .form-control {
    margin-right: 4px;
}

/*===============================
    TOGGLES
================================= */
.slow .toggle-group { 
    transition: left 0.7s; -webkit-transition: left 0.7s; 
}
.fast .toggle-group { 
    transition: left 0.1s; -webkit-transition: left 0.1s; 
}
.quick .toggle-group { 
    transition: none; -webkit-transition: none; 
}

/*===============================
    NAVBAR - TOP
================================= */
.navbar-static-top {
    background: #f3f3f4;
    min-height: 60px;
    margin-left: 200px;
    padding: 0 20px;
}
.navbar {
    margin-bottom: 0;
}
.reveal-rightsidebar {
    float: right;
    width: 40px;
    padding: 6px 4px 4px;
    margin: 14px 5px 5px 0px;
    font-size: 14px;
}
body.right-sidebar .reveal-rightsidebar .fas.fa-angle-double-left:before {
    content: '\f101';
}
.navbar-top-icons {
    float: right;
    width: 40px;
    padding: 6px 4px 4px;
    margin: 14px 5px 5px 0px;
    font-size: 14px;
}
nav.navbar-static-top button {
    position: relative;
    display: block;
}
.navbar-top-icons .label {
    border-radius: 2px;
    line-height: 12px;
    position: absolute;
    right: -4px;
    top: -4px;
}

/*===============================
    DROPDOWN MENU - TOP NAVBAR
================================= */
nav .dropdown-menu {
    min-width: 250px;
    border: #e1a101;
    border-width: 2px;
    border-style: solid;
    padding: 0px;
    border-top-width: 10px;
    margin-top: 5px;
}
.btn-group.right .dropdown-menu {
    left: auto;
    right: 0px;
}
nav .dropdown-header {
    background: #fafafa;
    border-bottom: 1px solid #e5e5e5;
    padding: 8px;
    font-weight: 600;
    font-size: 16px;
    color: #333;
}
nav li.dropdown-header .profile-image {
    margin-right: 10px;
}
nav ul.dropdown-menu li {
    border-top: 1px solid #e5e5e5;
}
nav ul.dropdown-menu i.fas {
    margin-right: 10px;
}
nav ul.dropdown-menu li a {
    padding: 10px;
}
nav ul.dropdown-menu.messages {
    min-width: 350px;
}
nav ul.dropdown-menu li.messages i {
    float: left;
    font-size: 18px;
}
nav .dropdown-menu:before {
    position: absolute;
    top: -18px;
    right: 14px;
    display: inline-block;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #e1a101;
    border-left: 9px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.2);
    content: '';
}
nav .dropdown-menu:after {
    position: absolute;
    top: -17px;
    right: 15px;
    display: inline-block;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #e1a101;
    border-left: 8px solid transparent;
    content: '';
}

/*===============================
    PROGRESS & SLIDERS
================================= */
.progress {
    height: 20px;
    background-color: #e7e9ee;
    border-radius: 2px;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.progress-bar {
    -webkit-box-shadow: none;
    box-shadow: none;
}
.right-sidebar-section .progress {
    width: 90%;
    margin-top: 5px;
    height: 15px;
}

/*===============================
    MODALS
================================= */
.modal-body .nav-tabs {
    margin: 0 -15px 15px;
    padding: 0 5px !important;
}
.modal-content {
    border-radius: 2px;
}
.modal-footer .btn {
    margin-bottom: 0px !important;
}

/*===============================
    SEARCH
================================= */
.search-form {
    width: 250px;
    margin: 0 5px;
    float: left;
    position: relative;
}
.navbar .search-form {
    width: 180px;
    padding-top: 14px;
}
.navbar .searchbutton {
    top: 20px;
}
.searchbox {
    border-radius: 2px;
    border: none;
    height: 34px;
    width: 250px;
    padding-left: 20px;
    padding-right: 36px;
    background: rgba(255, 255, 255, 0.95);
    color: #37363e;
}
.navbar .searchbox {
    top: 20px;
    width: 180px;
}
.searchbox-dark {
    background: rgba(242, 242, 242, 1);
    color: #37363e;
}
.searchbutton {
    border: none;
    color: rgba(0, 0, 0, 0.8);
    background: none;
    position: absolute;   
    font-size: 16px;
    right: 8px;
    top: 6px;
}

/*===============================
    MINI NAVBAR
================================= */
body.mini-navbar #page-content,
body.mini-navbar .navbar-static-top {
    margin: 0 0 0 70px;
}
body.mini-navbar .navbar-static-side {
    width: 70px;
}
body.mini-navbar.fixed-footer {
    position: fixed;
    left: 70px;
}
body.mini-navbar .navbar-default .logo-full {
    display: none !important;
}
body.mini-navbar .navbar-default .x-hidden {
    display: block !important;
}
body.mini-navbar .navbar-default a span {
    display: none;
}
body.mini-navbar #logo-element {
    background-color: rgba(59, 63, 64, 1);
    border-bottom: none !important;
}
body.mini-navbar .fixed-footer {
    left: 70px;
}

/*===============================
    RIGHT SIDEBAR
================================= */
body.right-sidebar #page-content {
    margin: 0 250px 0 200px;
}
body.right-sidebar.mini-navbar #page-content {
    margin: 0 250px 0 70px;
}
.sidebar-right {
    display: none;
    position: fixed;
    right: 0px;
    top: 0px;
    width: 0px;
    color: white;
}
body.right-sidebar .sidebar-right {
    display: block;
    position: absolute;
    width: 250px;
    margin-top: 60px;
}
.right-sidebar-header {
    max-height: 50px;
    padding: 10px;
    background-color: #e1a101;
}
.right-sidebar-header .sidebar-header-text {
    margin: 0px;
    padding-left: 6px;
    font-size: 18px;
}
.right-sidebar-header i {
    font-size: 18px;
    padding-right: 10px;
}
body.right-sidebar .right-sidebar-section {
    margin: 0px;
    padding: 15px 10px;
}
.right-sidebar-section .fa-check-circle {
    margin-right: 6px;
}

/*===============================
    TRANSITIONS
================================= */
.navbar-static-side, 
.navbar-static-top,
.navbar-fixed-top,
footer,
#page-content,
#sidebar-collapse .nav > li > ul.nav-second-level > li > a:hover {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

/*===============================
    BUTTONS 
================================= */
.btn {
    border-radius: 2px;
}

.btn-main {
    background-color: #e1a101;
    border-color: #e1a101;
    color: #FFFFFF;
}
.btn-main.stacked {
    margin-bottom: 6px;
}
.btn-alt {
    background-color: #FFF;
}
.btn-default {
    background-color: #f1f3f6;
}
.btn-icon {
    padding-left: 10px;
    padding-right: 10px;
}


.btn-primary.btn-alt {
    color: #428bca;
}
.btn-success.btn-alt {
    color: #5cb85c;
}
.btn-info.btn-alt {
    color: #5bc0de;
}
.btn-warning.btn-alt {
    color: #ec971f;
}
.btn-danger.btn-alt {
    color: #d9534f;
}

.btn-primary:hover.btn-alt,
.btn-success:hover.btn-alt,
.btn-info:hover.btn-alt,
.btn-warning:hover.btn-alt,
.btn-danger:hover.btn-alt {
    color: #FFFFFF;
}

.btn-rounded {
    border-radius: 999px;
}

.btn-squared {
    border-radius: 0px;
}

.btn-xl {
    padding: 12px 20px;
    font-size: 20px;
}

.btn-group {
    line-height: inherit;
}

.btn-display .btn {
    margin-bottom: 8px;
    margin-right: 2px;
}

button,
button:focus, 
button:active, 
.btn, 
.btn:focus, 
.btn:active:focus,
.btn.active:focus, 
.btn.focus, 
.btn.focus:active, 
.btn.active.focus {
    outline: none;
    outline: 0;
}

/*===============================
    COLOURED BUTTONS
================================= */
.btn-blue {
    background-color: #1b98e0;
    color: #fff;
    border:1px solid #1a8ac7;
}
.btn-blue.active, 
.btn-blue.focus, 
.btn-blue:active, 
.btn-blue:focus, 
.btn-blue:hover, 
.open > .dropdown-toggle.btn-blue {
    color: #fff;
    background-color: #0e87c4;
}

.btn-purple {
    background-color: #986291;
    color: #fff;
    border:1px solid #8a5884;
}
.btn-purple.active, 
.btn-purple.focus, 
.btn-purple:active, 
.btn-purple:focus, 
.btn-purple:hover, 
.open > .dropdown-toggle.btn-purple {
    color: #fff;
    background-color: #82527c;
}

.btn-red {
    background-color: #F00000;
    color: #fff;
    border:1px solid #b51a36;
}
.btn-red.active, 
.btn-red.focus, 
.btn-red:active, 
.btn-red:focus, 
.btn-red:hover, 
.open > .dropdown-toggle.btn-red {
    color: #fff;
    background-color:#b51431;
}

.btn-green {
    background-color: #0e9e0e;
    color: #fff;
    border:1px solid #118711;
}
.btn-green.active, 
.btn-green.focus, 
.btn-green:active, 
.btn-green:focus, 
.btn-green:hover, 
.open > .dropdown-toggle.btn-green {
    color: #fff;
    background-color:#008000;
}

.btn-orange {
    background-color: #fca311;
    color: #fff;
    border:1px solid #db8a09;
}
.btn-orange.active, 
.btn-orange.focus, 
.btn-orange:active, 
.btn-orange:focus, 
.btn-orange:hover, 
.open > .dropdown-toggle.btn-orange {
    color: #fff;
    background-color:#de9011;
}

.btn-pink {
    background-color: #d1527f;
    color: #fff;
    border:1px solid #b0466b;
}
.btn-pink.active, 
.btn-pink.focus, 
.btn-pink:active, 
.btn-pink:focus, 
.btn-pink:hover, 
.open > .dropdown-toggle.btn-pink  {
    color: #fff;
    background-color:#bd3d6a;
}

/* BUTTON FOR MINI-NAVBAR  */
.close-sidebar {
    padding: 6px 12px;
    margin: 14px 5px 5px 0px;
    font-size: 14px;
    float: left;
}

/*===============================
    TO-TOP
================================= */
#to-top {
    display: none;
    position: fixed;
    bottom: 55px;
    left: 10px;
    border-radius: 2px;
    padding: 0 12px;
    font-size: 28px;
    text-align: center;
    color: #FFFFFF;
    background-color: #000000;
    opacity: 0.1;
    filter: alpha(opacity=10);
    z-index: 102;
}

#to-top:hover {
    color: #ffffff;
    background-color: #e1a101;
    text-decoration: none;
    opacity: 1;
    filter: alpha(opacity=100);
}

/*===============================
    DROPDOWN
================================= */
.dropdown-custom.dropdown-menu {
    min-width: 180px;
}
.dropdown-menu > li > a {
    padding: 6px 10px;
}
.dropdown-menu {
    border-radius: 0;
}

/*===============================
    LOGON PAGES
================================= */
.pen-title {
    padding: 50px 0;
    text-align: center;
    letter-spacing: 2px;
    color: #e1a101
}
.pen-title h1 {
    margin: 0 0 20px;
    font-size: 48px;
    font-weight: 300;
    color: #FFFFFF
}
.pen-title span {
    font-size: 12px;
}
.pen-title .fa-times {
    color: #e1a101;
}
.pen-title span a {
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
}

.form-module {
    position: relative;
    background: #333;
    max-width: 320px;
    width: 100%;
    border-top: 5px solid #e1a101;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}
.form-module .toggle {
    cursor: pointer;
    position: absolute;
    top: -0;
    right: -0;
    background: #e1a101;
    width: 80px;
    height: 30px;
    margin: -5px 0 0;
    color: #ffffff;
    font-size: 12px;
    line-height: 30px;
    text-align: center;
}
.form-module .toggle i {
    margin-right: 6px;
}
.form-module .toggle .tooltip {
    position: absolute;
    top: 5px;
    right: -65px;
    display: block;
    background: rgba(0, 0, 0, 0.6);
    width: auto;
    padding: 5px;
    font-size: 10px;
    line-height: 1;
    text-transform: uppercase;
}
.form-module .toggle .tooltip:before {
    content: '';
    position: absolute;
    top: 5px;
    left: -5px;
    display: block;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 5px solid rgba(0, 0, 0, 0.6);
}
.form-module .form {
    padding: 40px;
}
.form-module h2 {
    margin: 0 0 20px;
    color: #e1a101;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}
.form-module input {
    outline: none;
    display: block;
    width: 100%;
    border: 1px solid #d9d9d9;
    margin: 0 0 20px;
    padding: 10px 15px;
    box-sizing: border-box;
    font-weight: 400;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
}
.form-module input:focus {
    border: 1px solid #e1a101;
    color: #333333;
}
.form-module button {
    cursor: pointer;
    background: #e1a101;
    width: 100%;
    border: 0;
    padding: 10px 15px;
    color: #ffffff;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
}
.form-module button:hover {
    background: #FFBC00;
}
.form-module .cta {
    background: #f2f2f2;
    width: 100%;
    padding: 15px 40px;
    box-sizing: border-box;
    color: #666666;
    font-size: 12px;
    text-align: center;
}
.form-module .cta a {
    color: #333333;
    text-decoration: none;
}
.form-module .help-block {
    margin-top: -15px;
    color: red;
}
#login-footer {
    margin-top: 8px;
}

.captchsize {
    transform:scale(0.80);
    -webkit-transform:scale(0.80);
    transform-origin:0 0;
    -webkit-transform-origin:0 0;
}

/*===============================
    FOOTER
================================= */
footer {
    background: #C8CBD2;
    bottom: 0;
    left: 0;
    padding: 10px 20px;
    position: absolute;
    right: 0;
    font-size: 11px;
    z-index: 1000;
}

/*===============================
    CAROUSEL
================================= */
.carousel-control i {
    width: 10px;
    height: 10px;
    margin-top: -8px;
    margin-left: -8px;
}
.carousel-control span {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    display: inline-block;
}
.carousel-control.left:hover, .carousel-control.right:hover {
    background: rgba(0,0,0,.5);
}
.carousel-inner > .item > img, .carousel-inner > .item > a > img {
    width: 100%;
}

/*===============================
    OTHER
================================= */

code {
    background: #CCE5FF;
    padding: 2px 2px;
    color: #000;
    border: 1px solid #CCEEFF;
    border-radius: 2px;
}
mark {
    background: #FADF95;
    border-radius: 2px;
}
.label {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    text-shadow: none;
}
.label-nav {
    vertical-align: text-bottom;
    background-color: #e1a101;
    margin-top: 2px;
}
blockquote footer {
    background-color: inherit;
}
.tooltip-inner {
  border-radius: 2px;
}


/*===============================
    LAYOUTS
================================= */
.fixed-footer {
    position: fixed;
    left: 200px;
}

body.fixed-sidebar .navbar-static-side {
    position: fixed;
    width: 200px;
    z-index: 101;
    height: 100%;
}

.navbar-fixed-top {
    background: #f3f3f4;
    position: fixed;
    right: 0px;
    min-height: 60px;
    margin-left: 200px;
    padding: 0 20px;
    border-bottom: 1px solid #e7eaec !important;
}
nav.navbar-fixed-top + #page-content {
    padding-top: 60px;
}
body.mini-navbar .navbar-fixed-top {
    margin: 0 0 0 70px;
}

/*===============================
    @MEDIA
================================= */
/* MEDIA : MIN-WIDTH: 768px */
@media only screen and (min-width: 768px) {
    #page-content {
        position: inherit;
        margin: 0 0 0 200px;
        min-height: 1150px;
    }
    .navbar-static-side {
        z-index: 101;
        position: absolute;
        width: 200px;
    }
}

/* MEDIA : MAX-WIDTH: 768px */
@media only screen and (min-width:1px) and (max-width: 768px) {
    #page-content {
        position: inherit;
        margin: 0 0 0 0px;
        min-height: 1000px;
    }
    .navbar-static-top {
        margin: 0 0 0 0px;
    }
    .navbar-fixed-top{
        margin: 0 0 0 0px;   
    }
    .fixed-footer {
        left: 0px;
    }
    body.mini-navbar .fixed-footer {
        left: 0px;
    }
    .navbar-static-side {
        display: none;
        z-index: 101;
        position: absolute;
        width: 70px;
    }   
    body.mini-navbar .navbar-static-side {
        display: block;
        z-index: 101;
        position: absolute;
        width: 70px;
    }
    body.right-sidebar #page-content {
        margin: 0 250px 0 0px;
    }
    body.mini-navbar .navbar-top-icons {
        display: none;
    }
    .btn-group.right .dropdown-menu {
        left: auto;
        right: -90px;
    }
    nav ul.dropdown-menu.messages {
        min-width: 250px;
    }
    
    /* Messages dropdown placement on small screen */
    .btn-group.right ul.dropdown-menu.profile-dropdown {
        left: auto;
        right: -140px;
    }
    nav ul.dropdown-menu.profile-dropdown:before {
        right: 152px;
    }
    nav .dropdown-menu.profile-dropdown:after {
        right: 153px;
    }
}

/* MEDIA : MAX-WIDTH: 375px */
@media (max-width: 375px) {
    
    body.right-sidebar .sidebar-right {
        position:absolute;
        width: 250px;
        margin-top: 60px;
        background-color: rgba(59, 63, 64, 1);
    }
    body.right-sidebar #page-content {
        display: none;
    }
    body.right-sidebar.mini-navbar #page-content {
        margin: 0 0 0 70px;
    }
    
}

/* ==========================================================================
   MODERN THEME OVERRIDE — Noir / Or (#e1a101) / Blanc
   Ajouté par-dessus le thème existant (Xavier Admin) sans toucher au HTML.
   ========================================================================== */
:root {
    --brand-black: #121316;
    --brand-black-soft: #1c1e22;
    --brand-gold: #e1a101;
    --brand-gold-light: #f4b731;
    --brand-gold-dark: #b57f00;
    --brand-white: #ffffff;
    --surface: #f4f5f7;
    --surface-alt: #eceef1;
    --text-main: #1c1e22;
    --text-muted: #7a7f87;
    --border-soft: #e6e8eb;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow-sm: 0 1px 3px rgba(15,17,21,.08);
    --shadow-md: 0 6px 20px rgba(15,17,21,.10);
    --shadow-lg: 0 16px 40px rgba(15,17,21,.18);
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ---------- Base / canvas ---------- */
body {
    background-color: var(--surface) !important;
    color: var(--text-main);
}
/* Pages de connexion / mot de passe (contiennent la carte .form-module) :
   fond dégradé moderne noir avec halo doré, au lieu du fond blanc/gris uni. */
body:has(.form-module) {
    background:
        radial-gradient(circle at 50% 15%, rgba(225,161,1,.18), transparent 55%),
        linear-gradient(160deg, #202226 0%, #131417 55%, #000000 100%) !important;
    min-height: 100vh;
}
#page-content.gray-bg, .gray-bg {
    background-color: var(--surface) !important;
}
#page-content {
    padding-top: 24px !important;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: #cfd3d8; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-gold); }

/* ---------- Sidebar ---------- */
.navbar-static-side {
    background-color: var(--brand-black) !important;
    box-shadow: var(--shadow-lg);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    overflow-y: auto;
}
#logo-element {
    background: rgba(255,255,255,.05) !important;
    border-radius: var(--radius-sm);
    margin: 14px 10px !important;
    width: auto !important;
}
.sidebar-header {
    color: rgba(255,255,255,.35) !important;
    letter-spacing: .08em;
}
#sidebar-collapse .nav > li {
    margin: 2px 10px !important;
    border-radius: var(--radius-sm) !important;
    transition: background-color .15s ease, color .15s ease;
}
#sidebar-collapse .nav > li > a {
    border-radius: var(--radius-sm);
    font-weight: 500 !important;
}
#sidebar-collapse .nav > li.selected > a {
    background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold)) !important;
    color: var(--brand-white) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(225,161,1,.35);
}
#sidebar-collapse .nav > li.selected > a > i {
    color: var(--brand-white) !important;
}
#sidebar-collapse .nav > li:not(.selected).dropped > a,
#sidebar-collapse .nav > li:not(.selected) > a:hover {
    background-color: rgba(255,255,255,.08) !important;
    color: var(--brand-white) !important;
}

/* ---------- Top navbar ---------- */
.navbar-static-top {
    background: var(--brand-white) !important;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
}
nav .dropdown-menu {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-gold);
    overflow: hidden;
}

/* ---------- Panels / cards ---------- */
.panel {
    border: 1px solid var(--border-soft) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow .2s ease;
}
.panel:hover { box-shadow: var(--shadow-md); }
.panel-heading {
    background: var(--brand-white) !important;
    border-bottom: 1px solid var(--border-soft) !important;
}
.panel-heading h1, .panel-heading h2, .panel-heading h3,
.panel-heading h4, .panel-heading h5, .panel-heading h6 {
    font-weight: 600 !important;
    color: var(--text-main);
}
.panel-footer {
    background: var(--surface-alt) !important;
    border-top: 1px solid var(--border-soft) !important;
}
.title-header.white-bg {
    background: var(--brand-white) !important;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 16px 18px !important;
    margin-bottom: 18px;
}

/* ---------- Tuiles de stats (dashboard) ---------- */
.purple-bg, .warm-blue-bg, .red-bg, .orange-bg, .yellow-bg, .green-bg {
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm);
}
.purple-bg {
    background: linear-gradient(135deg, var(--brand-black-soft), var(--brand-black)) !important;
}
.warm-blue-bg {
    background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold)) !important;
    color: var(--brand-black) !important;
}
.green-bg { background: linear-gradient(135deg, #23a35a, #187a42) !important; }
.red-bg { background: linear-gradient(135deg, #e2504f, #b93b3a) !important; }
.orange-bg, .yellow-bg {
    background: linear-gradient(135deg, var(--brand-gold-dark), var(--brand-gold)) !important;
    color: var(--brand-white) !important;
}
.gray-bg .panel, .panel.gray-bg {
    background: var(--brand-white) !important;
    color: var(--text-main) !important;
    border: 1px solid var(--border-soft) !important;
}

/* ---------- Boutons ---------- */
.btn {
    border-radius: var(--radius-sm) !important;
    font-weight: 600;
    letter-spacing: .01em;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
    border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary, .btn-main {
    background: var(--brand-gold) !important;
    border-color: var(--brand-gold) !important;
    color: var(--brand-white) !important;
}
.btn-primary i, .btn-main i {
    color: var(--brand-white) !important;
}
.btn-primary:hover, .btn-main:hover {
    background: var(--brand-gold-dark) !important;
    border-color: var(--brand-gold-dark) !important;
    color: var(--brand-white) !important;
}
.form-module button {
    background: var(--brand-gold) !important;
    border-color: var(--brand-gold) !important;
    color: var(--brand-black) !important;
}
.form-module button:hover {
    background: var(--brand-gold-dark) !important;
    border-color: var(--brand-gold-dark) !important;
    color: var(--brand-white) !important;
}
/* Bouton "Sign in" (dans le <form>) : gris moderne. Le bouton "Contact us" (hors du <form>) reste doré ci-dessus. */
.form-module form button {
    background: #4b4f56 !important;
    border-color: #4b4f56 !important;
    color: var(--brand-white) !important;
}
.form-module form button:hover {
    background: #5d6169 !important;
    border-color: #5d6169 !important;
    color: var(--brand-white) !important;
}
.btn-default {
    background: var(--brand-white) !important;
    border-color: var(--border-soft) !important;
    color: var(--text-main) !important;
}
.btn-default:hover { background: var(--surface-alt) !important; }
.btn-success { background: #23a35a !important; border-color: #23a35a !important; color: var(--brand-white) !important; }
.btn-success i { color: var(--brand-white) !important; }
.btn-success:hover { background: #1c8549 !important; border-color: #1c8549 !important; color: var(--brand-white) !important; }
.btn-danger { background: #d64545 !important; border-color: #d64545 !important; }
.btn-warning { background: var(--brand-gold-dark) !important; border-color: var(--brand-gold-dark) !important; color: var(--brand-white) !important; }
.btn-info { background: #2d8fce !important; border-color: #2d8fce !important; }

/* ---------- Tableaux ---------- */
.panel .table-responsive, .table-responsive { border-radius: var(--radius); }
.table > thead > tr > th {
    background: var(--brand-black) !important;
    color: var(--brand-white) !important;
    border: none !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .04em;
    white-space: nowrap;
}
.table-striped > tbody > tr:nth-of-type(odd) { background-color: var(--surface); }
.table-hover > tbody > tr:hover {
    background-color: rgba(225,161,1,.10) !important;
}
.table > tbody > tr > td { vertical-align: middle !important; border-color: var(--border-soft) !important; }

/* DataTables */
.dataTables_wrapper .form-control { border-radius: var(--radius-sm); }
.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button.current:hover,
.pagination > .active > a, .pagination > .active > span {
    background: var(--brand-gold) !important;
    border-color: var(--brand-gold) !important;
    color: var(--brand-black) !important;
}
.dataTables_paginate .paginate_button:hover {
    background: var(--brand-black) !important;
    color: var(--brand-white) !important;
    border-color: var(--brand-black) !important;
}
.pagination > li > a, .pagination > li > span { border-radius: var(--radius-sm) !important; margin: 0 2px; }

/* ---------- Formulaires ---------- */
.form-control {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border-soft) !important;
    box-shadow: none !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:focus {
    border-color: var(--brand-gold) !important;
    box-shadow: 0 0 0 3px rgba(225,161,1,.18) !important;
}
label.control-label { font-weight: 600; color: var(--text-main); }

/* ---------- Login / activation pages ---------- */
.form-module {
    background: var(--brand-black) !important;
    border-top: none !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.form-module:before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-gold-dark), var(--brand-gold-light), var(--brand-gold-dark));
}
.form-module input {
    border-radius: var(--radius-sm) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    background: rgba(255,255,255,.05) !important;
    color: var(--brand-white) !important;
}
.form-module input::placeholder { color: rgba(255,255,255,.4); }
.form-module input:focus {
    border-color: var(--brand-gold) !important;
    background: rgba(255,255,255,.08) !important;
}
.form-module .cta {
    background: var(--brand-black-soft) !important;
    color: rgba(255,255,255,.6) !important;
}
.form-module .cta a { color: var(--brand-gold) !important; }
.pen-title { color: var(--brand-gold) !important; }

/* ---------- Alertes / labels / badges ---------- */
.alert {
    border-radius: var(--radius-sm);
    border: none;
    border-left: 4px solid transparent;
    padding: 14px 18px;
    font-weight: 500;
    font-size: 13.5px;
    box-shadow: var(--shadow-sm);
}
.alert-success { background: #e5f7ec; color: #1c7a43; border-left-color: #23a35a; }
.alert-danger { background: #fbeaea; color: #a83232; border-left-color: #d64545; }
.alert-warning { background: #fdf1d8; color: #8a5c00; border-left-color: var(--brand-gold); }
.alert-info { background: #e6f2fb; color: #1f5f8b; border-left-color: #2d8fce; }
.label-primary, .badge-primary { background-color: var(--brand-gold) !important; color: var(--brand-black) !important; }

/* ---------- Modals ---------- */
.modal-content { border-radius: var(--radius); border: none; box-shadow: var(--shadow-lg); }
.modal-header { border-bottom: 1px solid var(--border-soft); border-radius: var(--radius) var(--radius) 0 0; }
.modal-footer { border-top: 1px solid var(--border-soft); }

/* ---------- Checkboxes (awesome-bootstrap-checkbox) accent ---------- */
.checkbox-primary input[type="checkbox"]:checked + label::before,
.checkbox-primary input[type="radio"]:checked + label::before {
    background-color: var(--brand-gold) !important;
    border-color: var(--brand-gold) !important;
}

/* ---------- Tuiles "Available on..." (stores) ---------- */
.store-tiles .store-tile {
    border: 1px solid var(--border-soft) !important;
    border-radius: var(--radius) !important;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}
.store-tiles .store-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.store-tile-body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    background: var(--brand-white);
}
.store-tile-logo img {
    max-height: 56px;
    max-width: 130px;
    object-fit: contain;
}
.store-tile-badge {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--brand-black);
    display: flex;
    align-items: center;
    justify-content: center;
}
.store-tile-badge i {
    font-size: 28px;
    color: var(--brand-white);
}
.store-tile-footer {
    background: #eefaf2 !important;
    color: #1c7a43 !important;
    font-weight: 600;
    font-size: 12.5px;
    text-align: center !important;
    padding: 10px !important;
    border-top: 1px solid #d9f0e1 !important;
}
.store-tile-footer i {
    color: #23a35a;
    margin-right: 5px;
}

/* ---------- Sous-menus (design pro) ---------- */
#sidebar-collapse .nav .nav-second-level {
    padding: 4px 0 6px 0;
    margin-left: 4px !important;
    width: 100%;
    box-sizing: border-box;
}
#sidebar-collapse .nav > li > ul.nav-second-level > li {
    width: 100%;
}
#sidebar-collapse .nav > li > ul.nav-second-level > li > a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    border-radius: var(--radius-sm);
    margin: 2px 0;
    padding: 7px 8px 7px 0 !important;
    font-size: 12px;
    font-weight: 400;
    white-space: normal;
    opacity: .85;
    transition: color .15s ease, opacity .15s ease;
}
#sidebar-collapse .nav > li > ul.nav-second-level > li > a::before {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    opacity: .7;
}
#sidebar-collapse .nav > li > ul.nav-second-level > li > a:hover {
    opacity: 1;
}
#sidebar-collapse .nav > li > ul.nav-second-level > li.active > a {
    color: var(--brand-gold-light) !important;
    opacity: 1;
    font-weight: 500;
    box-shadow: none !important;
    margin-left: 0 !important;
}
#sidebar-collapse .nav > li > ul.nav-second-level > li.active > a::before {
    background: var(--brand-gold-light);
    border-color: var(--brand-gold-light);
    opacity: 1;
}
nav .fa-angle-double-right {
    display: inline-block;
    transition: transform .2s ease;
    transform: rotate(-90deg);
}
nav .fa-angle-double-right:before {
    content: '\f103' !important;
}
.active > a > .fa-angle-double-right {
    transform: rotate(0deg);
}

/* ---------- Menu principal : responsivité mobile (tiroir plein, plus de mode icônes 70px) ---------- */
@media only screen and (max-width: 768px) {
    .navbar-static-side {
        display: block !important;
        width: 78vw !important;
        max-width: 290px !important;
        transform: translateX(-100%);
        transition: transform .25s ease;
        z-index: 1050 !important;
        box-shadow: var(--shadow-lg);
    }
    body.mini-navbar .navbar-static-side {
        display: block !important;
        width: 78vw !important;
        max-width: 290px !important;
        transform: translateX(0);
    }
    /* Le contenu reste plein écran, le menu passe par-dessus (pas de décalage) */
    #page-content {
        margin-left: 0 !important;
        /* padding: 0 25px (regle de base) laissait un bandeau vide a gauche/droite sur
           mobile : le conteneur (et les cartes/panels qu'il contient) doit occuper
           toute la largeur de l'ecran, sans espace ni a gauche ni a droite. */
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* Grille Bootstrap (.row > .col-*) : plus de marge/padding negatifs/positifs a
       compenser puisque le conteneur parent n'a lui-meme plus de padding. */
    #page-content .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    #page-content .row > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* Bandeau de titre (ex: "Balance History") : sa marge negative -25px etait calculee
       pour annuler le padding 25px de #page-content (desktop). Sur mobile ce padding
       vaut desormais 0, donc la marge doit l'etre aussi pour ne pas deborder. */
    #page-content .title-header {
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0 !important;
    }
    /* Cartes/panels : bord a bord sur mobile (pas d'angles arrondis qui laisseraient
       deviner un espace, coherent avec le titre ci-dessus). */
    #page-content .panel,
    #page-content .subscribers-toolbar {
        border-radius: 0 !important;
    }
    /* Toujours afficher le texte des liens dans le tiroir mobile (pas de mode icônes seules) */
    body.mini-navbar #sidebar-collapse .nav > li > a {
        text-align: left !important;
        padding: 10px 15px 10px 10px !important;
    }
    body.mini-navbar #sidebar-collapse .nav > li > a > i {
        margin-right: 6px !important;
    }
    body.mini-navbar .nav-label {
        display: inline !important;
    }
    /* Meme probleme que .nav-label ci-dessus : la fleche indiquant un sous-menu
       (span.fa-angle-double-right) est aussi un <span> dans un lien, donc cachee
       par la regle de base "body.mini-navbar .navbar-default a span { display: none; }". */
    body.mini-navbar .fa-angle-double-right {
        display: inline-block !important;
    }
    /* Fond sombre derrière le tiroir ouvert, pour le détacher visuellement du contenu */
    body.mini-navbar::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.45);
        z-index: 1040;
    }
    /* Neutralise le popup flottant "icônes repliées + survol" du thème de base :
       body.mini-navbar sert aussi au tiroir mobile, et un appui tactile déclenche
       un :hover persistant qui activait ce popup, cassant l'affichage du sous-menu. */
    body.mini-navbar .nav li > .nav-second-level,
    body.mini-navbar .nav li:hover > .nav-second-level {
        position: static !important;
        left: auto !important;
        top: auto !important;
        min-width: 0 !important;
        width: 100% !important;
        height: auto !important;
        background-color: transparent !important;
        border-left: none !important;
        padding: 4px 0 6px 0 !important;
        margin-left: 4px !important;
    }
    body.mini-navbar .nav li:hover .nav-label {
        position: static !important;
        display: inline !important;
        background: none !important;
        border-left: none !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        top: auto !important;
        left: auto !important;
    }
}

/* ---------- Cartes de sélection (ex: durée de licence) ---------- */
.plan-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}
.plan-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.plan-card {
    flex: 1 1 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 16px 14px;
    border: 2px solid var(--border-soft);
    border-radius: var(--radius);
    background: var(--brand-white);
    cursor: pointer;
    text-align: center;
    font-weight: 400;
    transition: border-color .15s ease, background-color .15s ease, transform .1s ease;
}
.plan-card:hover {
    border-color: var(--brand-gold-light);
    transform: translateY(-1px);
}
.plan-card-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-main);
}
.plan-card-price {
    font-size: 12.5px;
    font-weight: 600;
    color: #a83232;
    background: #fbeaea;
    padding: 2px 10px;
    border-radius: 20px;
}
.plan-radio:checked + .plan-card {
    border-color: var(--brand-gold);
    background: rgba(225,161,1,.08);
    box-shadow: 0 4px 14px rgba(225,161,1,.18);
}
.plan-radio:focus-visible + .plan-card {
    outline: 2px solid var(--brand-gold);
    outline-offset: 2px;
}

/* ---------- Barre d'outils de filtre (listes de type subscribers.php) ---------- */
.subscribers-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface-alt);
    border-bottom: 1px solid var(--border-soft);
}
.toolbar-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1 1 200px;
    min-width: 160px;
}
.toolbar-field-search {
    flex: 2 1 280px;
}
.toolbar-field-narrow {
    flex: 0 1 130px;
    min-width: 110px;
}
.toolbar-field label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
    margin: 0;
}
.toolbar-field .input-group-addon {
    background: var(--brand-black);
    color: var(--brand-gold);
    border: 1px solid var(--border-soft);
    border-right: 0;
}

/* Select2 : reskin doré/noir pour rester cohérent avec le thème */
.select2-container--default .select2-selection--single {
    border: 1px solid var(--border-soft) !important;
    border-radius: var(--radius-sm) !important;
    height: 34px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px !important;
    color: var(--text-main) !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px !important;
}
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--brand-gold) !important;
    box-shadow: 0 0 0 3px rgba(225,161,1,.15);
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--brand-gold) !important;
    color: var(--brand-black) !important;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: var(--surface-alt) !important;
}

/* Boutons d'export DataTables (Excel, PDF, Copy, Print) */
.dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.dt-buttons .btn, .dt-button {
    border-radius: var(--radius-sm) !important;
    background: var(--brand-black) !important;
    color: var(--brand-white) !important;
    border: none !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}
.dt-buttons .btn:hover, .dt-button:hover {
    filter: brightness(1.12);
    color: var(--brand-white) !important;
}
.dt-buttons .btn::before, .dt-button::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 6px;
}
/* Couleurs par type de fichier, cohérentes avec leurs icônes habituelles */
.dt-buttons .buttons-excel, .dt-button.buttons-excel {
    background: #1f7a45 !important;
}
.dt-buttons .buttons-excel::before, .dt-button.buttons-excel::before {
    content: "\f1c3"; /* fa-file-excel */
}
.dt-buttons .buttons-pdf, .dt-button.buttons-pdf {
    background: #c0392b !important;
}
.dt-buttons .buttons-pdf::before, .dt-button.buttons-pdf::before {
    content: "\f1c1"; /* fa-file-pdf */
}
.dt-buttons .buttons-copy, .dt-button.buttons-copy {
    background: #2d8fce !important;
}
.dt-buttons .buttons-copy::before, .dt-button.buttons-copy::before {
    content: "\f0c5"; /* fa-copy */
}
.dt-buttons .buttons-print, .dt-button.buttons-print {
    background: var(--brand-gold-dark) !important;
}
.dt-buttons .buttons-print::before, .dt-button.buttons-print::before {
    content: "\f02f"; /* fa-print */
}

/* ---------- Boutons d'action dans les lignes de tableau (ex: Reset Password) ---------- */
.btn-action-reset {
    background: var(--brand-gold-dark) !important;
    border-color: var(--brand-gold-dark) !important;
    color: var(--brand-white) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600;
    font-size: 12px;
    transition: background-color .15s ease, transform .12s ease;
}
.btn-action-reset:hover {
    background: var(--brand-gold) !important;
    color: var(--brand-black) !important;
    transform: translateY(-1px);
}
.btn-action-reset i {
    margin-right: 5px;
}
.btn-action-muted {
    background: var(--surface-alt) !important;
    border: 1px solid var(--border-soft) !important;
    color: var(--text-muted) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600;
    font-size: 12px;
    cursor: not-allowed;
}
.btn-action-muted i {
    margin-right: 5px;
}
.btn-action-edit {
    background: #23a35a !important;
    border-color: #23a35a !important;
    color: #fff !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600;
    font-size: 12px;
    transition: background-color .15s ease, transform .12s ease;
}
.btn-action-edit:hover {
    background: #1c8549 !important;
    color: #fff !important;
    transform: translateY(-1px);
}
.btn-action-edit i {
    margin-right: 5px;
    color: #fff !important;
}
/* Groupe d'actions icônes seules (ex: colonne Action de resellers.php / announcements.php) :
   toujours sur une seule ligne, boutons carrés compacts, avec un peu d'espace entre eux. */
.reseller-action-group,
.announcement-action-group {
    display: inline-flex !important;
    flex-wrap: nowrap;
    gap: 6px;
    white-space: nowrap;
}
.reseller-action-group .btn,
.announcement-action-group .btn {
    margin: 0 !important;
    width: 32px;
    height: 32px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.reseller-action-group .btn i,
.announcement-action-group .btn i {
    margin: 0 !important;
}
