body {
    color: #2E2E2E !important;
}

.text-theme {
    color: #488F2E !important;
}

.text-black{
    color: #2E2E2E !important;
}

.text-white {
    color: white !important;
}

.text-red, .text-danger2 {
    color: #E30C0C !important;
}

.text-md {
    font-size: 30px !important;
}

.text-small, .text-sm {
    font-size: 13px !important;
}

.text-left {
  text-align: left !important;
}

.tw-700 {
    font-weight: 700 !important;
}

.border-theme {
    border: solid #488F2E !important;
}

.border2 {
    border: 1px solid  !important;
}

.border-red {
	border: 1px solid #F28F8C !important;
}

.border-1px{
    border-width: 1px !important;
}

.border-2px, .bw-2{
    border-width: 2px !important;
}



/*.bg-danger2 {
	background-color: #488F2E !important;
}*/

.bg-danger2 {
	background-color: #F28F8C !important;
}

.bg-theme2 {
    background-color: #ac92ec !important;
}

.bg-gray {
	background-color: #DEDEDE !important;
}

.bg-default {
	background-color: #777 !important;
}

.img-rounded-25 {
	border-radius: 50px !important;
}

.img-md {
	width: 75px !important;
}

.alert-error {
	color: #E30C0C !important;
	background-color: #FC9592 !important;
	border: solid 1px #E30C0C !important;
	border-radius: 5px;
	padding: 10px !important;
}

.alert-msg {
	color: #0A5709 !important;
	background-color: #B1F7AD !important;
	border: solid 1px #0A5709 !important;
	border-radius: 5px;
	padding: 10px !important;
}

li > .logout2 {
	color: #f2f2f2;
	font-size: 12px;
	padding: 5px 10px;
	margin-top: 8px;
}

label.control-label {
    color: black !important;
    font-weight: 550 !important;
}

.form-control {
  border: 2px solid #858585;
}

.label-sm {
    font-size: 13px !important;
    line-height: 1.2 !important;
}

.fieldset-ps {
	border: solid 1px;
}

.fieldset-ps>h4 {
	margin-top: -6px; 
	background-color: white; 
	font-size: 13px;
}

.sub-menu .sub li a{
	line-height: 1 !important;
}

.w-50 {
	width: 50% !important;
}

.check-2x {
	width: 20px !important;
}

.tr-green {
    background: #8BD868;
}

.tr-red {
    background: #FFA2A0;
    background: #ffc4c4;
}

.tr-yellow {
    background: #FFBD32;
}

.tr-info {
    background: #61CAC5;
}

.tr-dark, .bg-dark {
    background: #2E2E2E;
}

/* section loading element */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #333;
}

#loading img {
    width: 150px;
    height: 150px;
    border-radius: 100px;
    margin-bottom: 10px;
}

/*end loading section*/

/***

Stryle complèter par Afiss

*/

.selectable-table {
    --selection-color: #e3f2fd;
    --selection-border: #2196F3;
}

.selectable-table tr {
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.selectable-table tr.selected-row {
    background-color: var(--selection-color);
    box-shadow: inset 3px 0 0 var(--selection-border);
}

.selectable-table tr:hover {
    background-color: color-mix(in srgb, var(--selection-color) 20%, white);
}
/* Hover */
.selectable-table tr:hover {
    background-color: #f5f5f5;
}

/* Animation */
@keyframes pulse-selection {
    0% { background-color: #e3f2fd; }
    50% { background-color: #bbdefb; }
    100% { background-color: #e3f2fd; }
}

.selectable-table tr.selected-row:focus {
    animation: pulse-selection 1.5s ease infinite;
}
.selected-row {
    background-color: #d4edda;
}

.sequential-next {
    border: 2px dashed #28a745;
}

.selectable-table tr {
    cursor: pointer;
    transition: all 0.3s;
}

.selectable-table tr:hover:not(.selected-row) {
    background-color: #f8f9fa;
}

.next-expected {
    animation: pulse 2s infinite;
    border-left: 3px solid #28a745;
}

@keyframes pulse {
    0% { background-color: rgba(40, 167, 69, 0.1); }
    50% { background-color: rgba(40, 167, 69, 0.3); }
    100% { background-color: rgba(40, 167, 69, 0.1); }
}

.selectable-table tbody tr {
    cursor: pointer;
}
.selectable-table tbody tr:hover {
    background-color: #f5f5f5;
}
.selected-row {
    background-color: #e6f7ff !important;
}

/*CSS pour gestion de date ouverture journée*/
.logo-container {
    text-align: center;
    margin-bottom: 20px;
}
.form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.btn-action {
    min-width: 120px;
}
.message-alert {
    margin-top: 20px;
}

     /* Couleurs de base */
 .mise-row td { background-color: inherit !important; }
.retrait-row td { background-color: #ffcccc !important; }
.avance-row td { background-color: #ffffcc !important; }

/* S'assurer que les couleurs persistent au survol */
.retrait-row:hover td { background-color: #ffaaaa !important; }
.avance-row:hover td { background-color: #ffeeaa !important; }

@page {
    size: A4 landscape;
    margin: 1cm 2cm;
}


/** New bloc de code BBEN-V2 **/
.panel-success {
    border-color: #488F2E;
}

.panel-success > .panel-heading {
    background-color: #488F2E;
    border-color: #488F2E;
    color: white;
}

.panel-success > .panel-body {
    border-top: 1px solid #488F2E;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: #fff;
    background-color: #488F2E;
    border: 1px solid #fff;
    border-bottom-color: transparent;
}
