/*--------------------------------------------------------------------------
	General Style
--------------------------------------------------------------------------*/

body {
    background: #FFFFFF;
}

.section {
    padding: 30px 0;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -o-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

.section-white {
    background: #FFF;
}

.section-dark {
    background: #151515;
}

.section-dark h3 {
    color: #FFF;
    font-size: 18px;
    font-weight: 200;
}

.section .container:first-child h1,
.section .container:first-child h2,
.section .container:first-child h3 {
    margin-top: 0;
    font-weight: 700;
}


/*--------------------------------------------------------------------------
+	Breadcrumbs Section Style
--------------------------------------------------------------------------*/

.section-breadcrumbs {
    background: #33363c;
    margin-bottom: 10px;
}

.section-breadcrumbs h1 {
    color: #FFF;
    font-size: 28px;
    text-transform: uppercase;
    margin-bottom: 0;
}


/*--------------------------------------------------------------------------
	Typography Style
--------------------------------------------------------------------------*/

h1 {
    color: #53555c;
    font-family: 'Lato', sans-serif;
    font-weight: 800;
}

h2 {
    color: #53555c;
    font-family: 'Lato', sans-serif;
    font-size: 2em;
    line-height: 1.5em;
}

h3 {
    font-family: 'Lato', sans-serif;
    color: #53555c;
    font-size: 1.5em;
}

h4 {
    font-family: 'Lato', sans-serif;
    color: #53555c;
    margin-bottom: 10px;
}


/*--------------------------------------------------------------------------
	Footer Style
--------------------------------------------------------------------------*/

.footer {
    background: #135e8d;
    color: white;
    padding: 10px 20px 10px 20px;
    /* border-top: 4px solid #2c3fc6; */
    margin-top: 20px;
    -webkit-box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.4);
    box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.4);
    color: 0 -1px 12px rgba(0, 0, 0, 0.4);
}

.footer h3 {
    color: #E4E4E4;
    font-size: 1.3em;
    border-bottom: 1px dotted #7C7C7C;
}

.footer ul {
    padding: 0;
}

.footer-navigate-section li {
    line-height: 20px !important;
}

.footer-stay-connected a {
    text-align: left;
    text-indent: -9999px;
    display: block;
    width: 115px;
    height: 40px;
    background: url(../img/stay-connected.png);
    -webkit-opacity: 0.5;
    -moz-opacity: 0.5;
    opacity: 0.5;
    -webkit-transition: opacity .25s linear;
    -moz-transition: opacity .25s linear;
    -o-transition: opacity .25s linear;
    -ms-transition: opacity .25s linear;
    transition: opacity .25s linear;
}

.footer-stay-connected a:hover {
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
}

.footer-stay-connected a.facebook {
    background-position: -115px 0;
}

.footer-stay-connected a.twitter {
    background-position: -230px 0;
}

.footer-stay-connected a.googleplus {
    background-position: 0 0;
}

.footer-stay-connected li {
    text-align: center;
}

.footer-copyright {
    text-align: center;
    color: #7C7C7C;
    border-top: 1px dotted #7C7C7C;
    padding-top: 10px;
    font-size: 0.9em;
}


/*--------------------------------------------------------------------------
+	Carousel
--------------------------------------------------------------------------*/

#main-slider .carousel h2 {
    font-size: 55px;
    line-height: 60px;
    color: #FFF;
    text-transform: uppercase;
    margin-top: 20%;
    font-weight: 700;
    padding-left: 0;
}

#main-slider .carousel p {
    font-size: 24px;
    line-height: 24px;
    color: #FFF;
    text-transform: uppercase;
    font-weight: 400;
    padding-left: 0;
}

/* Hauteur carousel temporairement désactivée pour diagnostic */
/*
.carousel-inner {
    height: calc(100vh - 238px);
}
*/

.carousel-caption {
    text-align: left;
    top: 0;
    bottom: auto;
}


/*--------------------------------------------------------------------------
+	Perso ACPC
--------------------------------------------------------------------------*/

.row figure img {
    max-width: 100%;
    margin-bottom: 20px;
    display: block;
    position: relative;
}

.padding-sides {
    padding-left: 20px;
    padding-right: 20px;
}

.ACPCforms {
    display: none;
}

.acpc-logo {
    max-height: 50px;
    background-color: #fff;
}

.nav-acpc {
    background-color: #135e8d;
}

.nav-dropdown-acpc {
    background-color: #135e8d;
}

.titre-bar-acpc {
    padding: 15px 0 10px;
}

.img-responsive {
    width: 100%;
}

.tab-pane {
    margin-top: 20px;
}

button.nav-link {
    display: inline-flex;
    align-items: center;
}

.progress-bar {
    font-size: larger;
    font-weight: bolder;
}

.logo-fede {
    max-width: 200px;
}

.card-header, .card-body {
	padding: 10px;
}

/*--------------------------------------------------------------------------
+	PWA Styles - Correction des couleurs des card-headers
--------------------------------------------------------------------------*/

/* PWA spécifiques - Gestion des couleurs uniquement */
.pwa-mode .card .card-header.bg-success {
    background-color: #198754 !important;
    background-image: none !important;
    background: #198754 !important;
    color: #ffffff !important;
    border-color: #198754 !important;
}

.pwa-mode .card .card-header.bg-primary {
    background-color: #0d6efd !important;
    background-image: none !important;
    background: #0d6efd !important;
    color: #ffffff !important;
    border-color: #0d6efd !important;
}

.pwa-mode .card .card-header.bg-warning {
    background-color: #ffc107 !important;
    background-image: none !important;
    background: #ffc107 !important;
    color: #000000 !important;
    border-color: #ffc107 !important;
}

.pwa-mode .card .card-header.bg-secondary {
    background-color: #6c757d !important;
    background-image: none !important;
    background: #6c757d !important;
    color: #ffffff !important;
    border-color: #6c757d !important;
}

.pwa-mode .card .card-header.bg-primary-subtle {
    background-color: #cfe2ff !important;
    background-image: none !important;
    background: #cfe2ff !important;
    color: #084298 !important;
    border-color: #cfe2ff !important;
}

.pwa-mode .card .card-header.bg-info {
    background-color: #0dcaf0 !important;
    background-image: none !important;
    background: #0dcaf0 !important;
    color: #000000 !important;
    border-color: #0dcaf0 !important;
}

.pwa-mode .card .card-header.bg-danger {
    background-color: #dc3545 !important;
    background-image: none !important;
    background: #dc3545 !important;
    color: #ffffff !important;
    border-color: #dc3545 !important;
}

.pwa-mode .card .card-header.bg-dark {
    background-color: #212529 !important;
    background-image: none !important;
    background: #212529 !important;
    color: #ffffff !important;
    border-color: #212529 !important;
}

.pwa-mode .card .card-header.bg-light {
    background-color: #f8f9fa !important;
    background-image: none !important;
    background: #f8f9fa !important;
    color: #212529 !important;
    border-color: #f8f9fa !important;
}

.pwa-mode .card .card-header.bg-success-subtle {
    background-color: #d1e7dd !important;
    background-image: none !important;
    background: #d1e7dd !important;
    color: #0f5132 !important;
    border-color: #d1e7dd !important;
}

.pwa-mode .card .card-header.bg-warning-subtle {
    background-color: #fff3cd !important;
    background-image: none !important;
    background: #fff3cd !important;
    color: #664d03 !important;
    border-color: #fff3cd !important;
}

.pwa-mode .card .card-header.bg-danger-subtle {
    background-color: #f8d7da !important;
    background-image: none !important;
    background: #f8d7da !important;
    color: #842029 !important;
    border-color: #f8d7da !important;
}

.pwa-mode .card .card-header.bg-info-subtle {
    background-color: #d1ecf1 !important;
    background-image: none !important;
    background: #d1ecf1 !important;
    color: #055160 !important;
    border-color: #d1ecf1 !important;
}

.pwa-mode .card .card-header.bg-secondary-subtle {
    background-color: #e2e3e5 !important;
    background-image: none !important;
    background: #e2e3e5 !important;
    color: #41464b !important;
    border-color: #e2e3e5 !important;
}
/* Style pour les items cliquables du dashboard */
.clickable-item {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.clickable-item:hover {
    background-color: #f8f9fa;
}

/* Style pour le changement de section */
.sectionLogo.section-multiple {
    cursor: pointer;
    padding: 3px 6px;
    margin-left: -16px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.sectionLogo.section-multiple:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sectionLogo i.fa-chevron-down {
    font-size: 0.7em;
    margin-left: 3px;
}

.section-dropdown {
    position: fixed !important;
    z-index: 1050;
    background-color: white;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    min-width: 200px;
    display: none;
}

.section-dropdown.show {
    display: block;
}

.section-dropdown .dropdown-item {
    color: #212529;
    padding: 8px 20px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.section-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
}

.section-dropdown .dropdown-item.active {
    background-color: #0d6efd;
    color: white;
}

.section-dropdown .dropdown-item.active:hover {
    background-color: #0b5ed7;
}

/*--------------------------------------------------------------------------
	Cards & Containers Style
--------------------------------------------------------------------------*/

.demande-container, 
.gestion-container,
.gonflage-container,
.controle-container {
	max-width: 1200px;
	margin: 0 auto;
}

.gestion-container {
	max-width: 1400px;
}

.gonflage-container,
.controle-container {
	max-width: 1000px;
}

.card-section,
.filters-card {
	background: white;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 15px;
	margin-bottom: 20px;
	box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
}

.filters-card {
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card-section:hover {
	box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.demande-card {
	background: white;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transition: all 0.3s ease;
}

.demande-card:hover {
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);
	transform: translateY(-2px);
}

/*--------------------------------------------------------------------------
	Headers & Titles Style
--------------------------------------------------------------------------*/

.page-header {
	background: linear-gradient(135deg, #2196f3, #1976d2);
	color: white;
	padding: 25px;
	border-radius: 12px;
	margin-bottom: 30px;
	box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.page-header h2 {
	margin: 0;
	font-weight: 700;
	color: white;
}

.page-header p {
	margin: 10px 0 0 0;
	opacity: 0.9;
}

.section-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #1565c0;
	margin-bottom: 15px;
	padding-bottom: 8px;
	border-bottom: 2px solid #e3f2fd;
	display: flex;
	align-items: center;
	gap: 8px;
}

.section-title i {
	color: #2196f3;
	font-size: 1.1rem;
}

.demande-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 2px solid #e3f2fd;
}

.demande-title {
	font-size: 1.2rem;
	font-weight: 600;
	color: #1565c0;
	margin: 0;
}

.demande-subtitle {
	font-size: 0.9rem;
	color: #546e7a;
	margin: 5px 0 0 0;
}

/*--------------------------------------------------------------------------
	Forms Style
--------------------------------------------------------------------------*/

.form-row {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}

.form-col {
	flex: 1;
	min-width: 200px;
}

.form-col-full {
	width: 100%;
}

.input-group-text {
	background: linear-gradient(135deg, #f8f9fa, #e9ecef);
	border-color: #dee2e6;
	font-weight: 500;
}

.input-group-text.bg-danger {
	background: #dc3545 !important;
	border-color: #dc3545 !important;
}

.input-group-text.bg-warning {
	background: #ffc107 !important;
	border-color: #ffc107 !important;
}

.input-group-text.bg-success {
	background: #198754 !important;
	border-color: #198754 !important;
}

.input-group-text.bg-info {
	background: #0dcaf0 !important;
	border-color: #0dcaf0 !important;
}

.form-control, .form-select {
	transition: all 0.3s ease;
}

.form-control:not(.input-group .form-control),
.form-select:not(.input-group .form-select) {
	border-radius: 6px;
}

.input-group .form-control,
.input-group .form-select {
	border-radius: 0 6px 6px 0;
}

textarea.form-control {
	background: white;
	border-radius: 6px;
}

.form-control:focus, .form-select:focus {
	border-color: #2196f3;
	box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

.password-field {
	position: relative;
}

.password-feedback {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.2rem;
}

/*--------------------------------------------------------------------------
	Alerts Style
--------------------------------------------------------------------------*/

.alert-custom {
	border-radius: 8px;
	padding: 15px 20px;
	margin: 15px 0;
	border: none;
	font-size: 0.95rem;
}

.alert-info-custom {
	background: linear-gradient(135deg, #e3f2fd, #bbdefb);
	color: #1565c0;
	border-left: 4px solid #2196f3;
}

.alert-primary-custom {
	background: linear-gradient(135deg, #e3f2fd, #90caf9);
	color: #0d47a1;
	border-left: 4px solid #1976d2;
}

.alert-secondary-custom {
	background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
	color: #424242;
	border-left: 4px solid #757575;
}

.alert-warning-custom {
	background: linear-gradient(135deg, #fff3e0, #ffcc02);
	color: #e65100;
	border-left: 4px solid #ff9800;
}

.alert-success-custom {
	background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
	color: #2e7d32;
	border-left: 4px solid #4caf50;
}

.alert-danger-custom {
	background: linear-gradient(135deg, #ffebee, #ffcdd2);
	color: #c62828;
	border-left: 4px solid #f44336;
}

/*--------------------------------------------------------------------------
	Buttons Style
--------------------------------------------------------------------------*/

.btn-primary-custom,
.btn-process {
	background: linear-gradient(135deg, #2196f3, #1976d2);
	border: none;
	border-radius: 8px;
	padding: 14px 35px;
	font-weight: 600;
	font-size: 1.05rem;
	transition: all 0.3s ease;
	color: white;
}

.btn-process {
	background: linear-gradient(135deg, #4caf50, #388e3c);
	padding: 10px 20px;
}

.btn-primary-custom:hover,
.btn-process:hover {
	background: linear-gradient(135deg, #1976d2, #1565c0);
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(33, 150, 243, 0.4);
}

.btn-process:hover {
	background: linear-gradient(135deg, #388e3c, #2e7d32);
	box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.btn-secondary-custom {
	background: linear-gradient(135deg, #78909c, #546e7a);
	border: none;
	border-radius: 8px;
	padding: 14px 35px;
	font-weight: 600;
	font-size: 1.05rem;
	transition: all 0.3s ease;
	color: white;
}

.btn-secondary-custom:hover {
	background: linear-gradient(135deg, #546e7a, #37474f);
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(84, 110, 122, 0.4);
}

.btn-action {
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.btn-cancel {
	background: linear-gradient(135deg, #f44336, #d32f2f);
	color: white;
}

.btn-cancel:hover {
	background: linear-gradient(135deg, #d32f2f, #c62828);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
}

.btn-details {
	background: linear-gradient(135deg, #2196f3, #1976d2);
	color: white;
}

.btn-details:hover {
	background: linear-gradient(135deg, #1976d2, #1565c0);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

/*--------------------------------------------------------------------------
	Info Boxes & Badges Style
--------------------------------------------------------------------------*/

.melange-info {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 20px;
	margin: 20px 0;
	border-left: 5px solid #2196f3;
}

.mod-info {
	background: #fff3e0;
	border-radius: 8px;
	padding: 20px;
	margin: 20px 0;
	border-left: 5px solid #ff9800;
}

.bloc-info {
	background: #f8f9fa;
	border-radius: 6px;
	padding: 12px;
	margin: 10px 0;
	border-left: 3px solid #17a2b8;
}

.melange-badge {
	display: inline-block;
	padding: 5px 12px;
	background: linear-gradient(135deg, #e3f2fd, #bbdefb);
	color: #1565c0;
	border-radius: 15px;
	font-weight: 600;
	font-size: 0.9rem;
}

.commentaire-box {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 12px;
	margin-top: 10px;
	border-left: 3px solid #2196f3;
	font-style: italic;
	color: #546e7a;
}

.demande-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin-bottom: 15px;
}

.info-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.info-item i {
	color: #2196f3;
	font-size: 1.1rem;
}

.info-label {
	font-weight: 600;
	color: #546e7a;
	font-size: 0.85rem;
}

.info-value {
	color: #263238;
	font-size: 0.95rem;
}

.demande-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #e0e0e0;
}

/*--------------------------------------------------------------------------
	Status Badges Style
--------------------------------------------------------------------------*/

.badge-status {
	padding: 8px 15px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.85rem;
}

.status-en_attente {
	background: linear-gradient(135deg, #fff3e0, #ffcc02);
	color: #e65100;
}

.status-en_cours {
	background: linear-gradient(135deg, #e3f2fd, #bbdefb);
	color: #1565c0;
}

.status-termine {
	background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
	color: #2e7d32;
}

.status-annule {
	background: linear-gradient(135deg, #ffebee, #ffcdd2);
	color: #c62828;
}

/*--------------------------------------------------------------------------
	Empty States & Utility Classes
--------------------------------------------------------------------------*/

.empty-state {
	text-align: center;
	padding: 60px 20px;
	color: #78909c;
}

.empty-state i {
	font-size: 4rem;
	margin-bottom: 20px;
	opacity: 0.5;
}

.empty-state h4 {
	margin: 0 0 10px 0;
	font-weight: 600;
}

.hidden-section {
	display: none !important;
}

/*--------------------------------------------------------------------------
	Type & Tab Selectors Style
--------------------------------------------------------------------------*/

.type-selector {
	display: flex;
	gap: 15px;
	margin-bottom: 25px;
}

.type-card {
	flex: 1;
	padding: 15px 20px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	background: white;
}

.type-card:hover {
	border-color: #2196f3;
	box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

.type-card.active {
	border-color: #2196f3;
	background: linear-gradient(135deg, #e3f2fd, #bbdefb);
	box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.type-card i {
	font-size: 2rem;
	margin-bottom: 10px;
	color: #2196f3;
}

.type-card h5 {
	margin: 0;
	font-weight: 600;
	font-size: 1rem;
	color: #1565c0;
}

.type-card p {
	margin: 5px 0 0 0;
	font-size: 0.85rem;
	color: #546e7a;
}

.tab-selector {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	border-bottom: 2px solid #e0e0e0;
}

.tab-button {
	padding: 12px 25px;
	border: none;
	background: transparent;
	color: #546e7a;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	border-bottom: 3px solid transparent;
}

.tab-button:hover {
	color: #2196f3;
}

.tab-button.active {
	color: #2196f3;
	border-bottom-color: #2196f3;
}

/*--------------------------------------------------------------------------
	Table Styles
--------------------------------------------------------------------------*/

.table th {
	background-color: #f8f9fa;
	font-weight: 600;
	font-size: 0.875rem;
}

.table td {
	vertical-align: middle;
}

.table-sm th, .table-sm td {
	padding: 0.5rem;
}

.table-sticky-header th {
	position: sticky;
	top: 0;
	z-index: 10;
	background-color: #f8f9fa;
}

/*--------------------------------------------------------------------------
	Admin Push Tests Styles
--------------------------------------------------------------------------*/
#admin-push-tests-page .admin-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

#admin-push-tests-page .test-form {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

#admin-push-tests-page .stats-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

#admin-push-tests-page .pending-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

#admin-push-tests-page .cron-output {
    background-color: #1e1e1e;
    color: #f8f8f2;
    padding: 1rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    max-height: 400px;
    overflow-y: auto;
}

/*--------------------------------------------------------------------------
	QR Reunion Styles
--------------------------------------------------------------------------*/
#qr-reunion-page body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
}

#qr-reunion-page .qr-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 90vw;
}

#qr-reunion-page .qr-code {
    margin: 30px auto;
    display: inline-block;
    padding: 20px;
    background: white;
    border-radius: 10px;
}

#qr-reunion-page .reunion-info {
    margin-bottom: 30px;
}

#qr-reunion-page .url-link {
    word-break: break-all;
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
}

#qr-reunion-page .btn-close-page {
    position: absolute;
    top: 20px;
    right: 20px;
}

@media print {
    #qr-reunion-page body {
        background: white;
    }
    #qr-reunion-page .btn-close-page,
    #qr-reunion-page .btn-print {
        display: none;
    }
}

/*--------------------------------------------------------------------------
	Listing Matos Styles
--------------------------------------------------------------------------*/
.mobile-materiel-list {
    padding: 0.5rem 0;
}

.mobile-materiel-list .card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.mobile-materiel-list .card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.border-start-primary {
    border-left-color: #0d6efd !important;
}

.border-start-warning {
    border-left-color: #ffc107 !important;
}

.border-start-danger {
    border-left-color: #dc3545 !important;
}

.mobile-materiel-list .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

@media (min-width: 768px) {
    .table-responsive {
        overflow-x: auto;
    }
}

/*--------------------------------------------------------------------------
	Notifs Materiel Styles
--------------------------------------------------------------------------*/
.notification-status {
    font-size: 0.75rem;
    margin-top: 2px;
}

.table_reduit th {
    min-width: 150px;
}

.notification-types {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.notification-type-badge {
    position: relative;
    padding-right: 1.5rem;
}

.notification-type-badge .remove-btn {
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 0.9em;
    opacity: 0.7;
}

.notification-type-badge .remove-btn:hover {
    opacity: 1;
    color: #fff;
}

/*--------------------------------------------------------------------------
	Registre Styles
--------------------------------------------------------------------------*/
.fade-in {
    animation: fadeIn 0.7s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/*--------------------------------------------------------------------------
	Retards Styles
--------------------------------------------------------------------------*/
.retard-item {
    overflow-x: hidden;
}

.retard-item .row {
    margin-left: 0;
    margin-right: 0;
}

.retard-user-name {
    max-width: 200px;
}

@media (max-width: 767.98px) {
    .retard-item .col-12 {
        margin-bottom: 0.25rem;
    }
    
    .retard-item .col-12:last-child {
        margin-bottom: 0;
        margin-top: 0.5rem;
    }
    
    .retard-item .text-truncate {
        max-width: 100% !important;
    }
    
    .retard-user-name {
        max-width: 100% !important;
    }
    
    .retard-item .badge {
        display: inline-block;
        min-width: 120px;
    }
}

@media (min-width: 768px) {
    #retards-page .retard-item .d-flex {
        flex-wrap: nowrap;
    }
    
    #retards-page .retard-item .text-muted {
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (min-width: 992px) {
    #retards-page .retard-item .text-muted {
        max-width: 250px;
    }
    
    #retards-page .retard-user-name {
        max-width: 250px;
    }
}

@media (max-width: 575.98px) {
    #retards-page .card-body .row .col-md-4 {
        margin-bottom: 0.5rem;
    }
}

/*--------------------------------------------------------------------------
	Inspection Visuelle Styles
--------------------------------------------------------------------------*/

.TivAdvice {
	background: #fff3cd !important;
	color: #856404 !important;
	font-weight: 600 !important;
	border: 1px solid #ffc107 !important;
}

.TivDanger {
	background: #f8d7da !important;
	color: #842029 !important;
	font-weight: 600 !important;
	border: 1px solid #dc3545 !important;
}

/*--------------------------------------------------------------------------
	Gonflage Styles
--------------------------------------------------------------------------*/
#gonflage-page #liste {
    min-height: 2rem;
    width: 100% !important;
}

#gonflage-page .badge {
    font-size: 1em;
}

/*--------------------------------------------------------------------------
	Admin Push Tests Additional Styles
--------------------------------------------------------------------------*/
#admin-push-tests-page .notification-preview {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    background-color: #f8f9fa;
}

/*--------------------------------------------------------------------------
	Generic Utility Classes
--------------------------------------------------------------------------*/
.select-min-width {
    min-width: 200px;
}

.alert-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.table-uppercase th {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.table-compact th,
.table-compact td {
    padding: 0.5rem;
}

.table-warning-light {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

/* Status Icons Circulaires */
.status-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.status-icon-circle.success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.status-icon-circle.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.status-icon-circle.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

/* Countdown Progress Bar */
.countdown-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    transition: width 0.1s linear;
}

/* Avatar circulaire small (32px) */
.avatar-sm {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.avatar-sm.placeholder {
    font-size: 12px;
}

/* Graph Cards */
.graph-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    margin-bottom: 2rem;
}

.graph-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #6366f1;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .graph-card {
        padding: 1rem 0.5rem 0.5rem 0.5rem;
    }
}

/* Canvas pour graphiques */
.canvas-chart-bar {
    max-height: 400px;
}

.canvas-chart-small {
    max-height: 100px;
}

.canvas-chart-pie {
    max-height: 400px;
    width: auto;
}

/* Code brut / Raw content */
#rawContent {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 12px;
    line-height: 1.4;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    max-height: 500px;
    overflow: auto;
    white-space: pre;
}

/* Log entry hover */
.log-entry:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Fix z-index pour les modals au-dessus de la navbar */
.modal-backdrop {
    z-index: 1055 !important;
}
.modal {
    z-index: 10000 !important;
}

/* ─── Gestion des menus (menus.php) ─────────────────────────────── */
.btn-xs {
    padding: 0.15rem 0.4rem;
    font-size: 0.75rem;
    line-height: 1.4;
    border-radius: 0.2rem;
}
.menu-group {
    background: #fff;
}
.menu-group-header {
    user-select: none;
}
.menu-child-row:last-child {
    border-bottom: none !important;
}
.sortable-ghost {
    opacity: 0.4;
    background: #cfe2ff;
}
.sortable-drag {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
