.form-control, .form-select {
    background-color: #ffffffd8;

    border: 1px solid #333;
}
.form-control:focus {
    background-color: #ffffffd8;

}
.sidebar {
    background-color: #1c1c1c;
    min-height: 100vh;
}
.navbar, .footer {
    background-color: #1a1a1a;
}
.table {
    color: #e0e0e0;
}
#webcamVideo {
    object-fit: cover;
    transition: transform 0.1s;
}
#badgeModal .modal-dialog {
    max-width: none;
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; /* ✨ bloque le scroll vertical */
    background-color: #c8c8c8d8;
    color: #2c2c2c;
    font-family: Arial, sans-serif;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100%;
    background-color: #1c1c1c;
    padding: 1.5rem 1rem;
    overflow-y: auto;
}

.main-content {
    position: absolute;
    top: 0;
    left: 220px;
    right: 0;
    bottom: 0;
    padding: 2rem;
    overflow-y: auto;
    background-color: #c8c8c8d8;
    color: #2c2c2c;
}

.nav-link {
    color: #212529 !important;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
    }

.nav-link:hover,
.nav-link.active {
    background-color: lightgrey;
    text-decoration: none;
}

.nav-link.text-danger:hover {
    background-color: #400 !important;
}

.text-muted {
    color: #aaaaaa !important;
}  

hr {
    border: 1px;
    border-top: 1px solid #aaaaaa;
    opacity: 0.3;
    margin: 1.5rem 0;
}
.hr-print {
    border: 1px;
    border-top: 1px solid #8b8a8a;
    opacity: 0.3;
    margin: 1.5rem 0;
}
#dropdownResults {
    background-color: #212529;
    border: 1px solid #343a40;
    border-radius: .25rem;
    max-height: 200px;
    overflow-y: auto;
}

#dropdownResults .list-group-item {
    background-color: #212529;
    color: #fff;
    cursor: pointer;
}

#dropdownResults .list-group-item:hover {
    background-color: #343a40;
}
#formContainer {
    margin-top: 30px;
    padding: 15px;
    
    border-radius: 6px;
}
::placeholder {
    color: #ddd !important;
    opacity: 1; /* Pour Firefox */
}
.kiosk-container {
    max-height: unset;
    overflow-y: auto;
    padding-bottom: 100px;
}
.footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    color: #6c757d;
}
.table-3d {
    background-color: #ffffff;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.table-3d thead {
    background-color: #f1f3f5;
}

.table-3d th {
    color: #495057;
    font-weight: 600;
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}

.table-3d td {
    background-color: #ffffff;
    padding: 12px;
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
}

.table-3d tbody tr:hover {
    background-color: #f8f9fa;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.04);
    transition: background-color 0.2s, box-shadow 0.2s;
}
.card-3d {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 30px;
   /* transition: transform 0.3s ease, box-shadow 0.3s ease;*/
}
/*
.card-3d:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
 Tableau à l'intérieur de la carte */

 .badge-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    background-color: #021226;
    width: 320px;
    height: 180px;
}
.bg-image-layer {
    object-fit: scale-down;
    width: 100%;
    height: 100%;
    z-index: 2;
    position: absolute;
    transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
}
.bg-color-layer {
    background-color: #021226;
    z-index: 1;
}
.bg-image-layer {
    object-fit: cover;
    z-index: 2;
}
.logo-layer {
    width: 70px;
    height: auto;
    top: 10px;
    left: 10px;
    z-index: 3;
}
.name-layer {
    bottom: 10px;
    left: 10px;
    z-index: 4;
    font-size: 1rem;
    position: absolute;
}
