option:disabled {
    color: red;
}

a {
    text-decoration: none;
}

.logo {
    max-height: 40px;
}

/* Corrections pour les notifications mobiles */
@media (max-width: 991.98px) {
    /* Alignement vertical de la cloche de notifications */
    .nav-item.dropdown .nav-link {
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
    }
    
    /* Positionnement correct du dropdown mobile */
    .notification-dropdown-mobile {
        right: 0 !important;
        left: auto !important;
        min-width: 300px !important;
        max-width: 90vw !important;
        transform: translateX(-10px) !important;
    }
    
    /* S'assurer que le dropdown ne dépasse pas de l'écran */
    .notification-dropdown-mobile .dropdown-item {
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}

/* Améliorations des onglets pour mobile */
.tabs-container {
    margin-bottom: 0;
}

/* Style général pour tous les écrans */
.nav-tabs-mobile {
    border-bottom: 1px solid #dee2e6 !important;
    margin-bottom: 0 !important;
}

.nav-tabs-mobile .nav-link {
    padding: 0.5rem 1rem !important;
    border: 1px solid transparent !important;
    border-top-left-radius: 0.25rem !important;
    border-top-right-radius: 0.25rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #6c757d !important;
    background-color: transparent !important;
    transition: all 0.15s ease-in-out !important;
    text-decoration: none !important;
}

.nav-tabs-mobile .nav-link:hover:not(.active) {
    border-color: #e9ecef #e9ecef #dee2e6 !important;
    background-color: #f8f9fa !important;
    color: #495057 !important;
}

.nav-tabs-mobile .nav-link.active {
    background-color: #007bff !important;
    border-color: #007bff #007bff #007bff !important;
    color: #fff !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.25) !important;
}

@media (max-width: 767.98px) {
    .nav-tabs-mobile {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important; /* Firefox */
        -ms-overflow-style: none !important; /* IE/Edge */
        margin: 0 -15px 0 -15px !important;
        padding: 0 15px !important;
    }
    
    /* Masquer la scrollbar sur webkit */
    .nav-tabs-mobile::-webkit-scrollbar {
        display: none !important;
    }
    
    .nav-tabs-mobile .nav-item {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    
    .nav-tabs-mobile .nav-link {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.8rem !important;
        min-width: auto !important;
        white-space: nowrap !important;
    }
}

/* Style pour les écrans moyens et grands */
@media (min-width: 768px) {
    .nav-tabs-mobile .nav-link {
        padding: 0.5rem 1.25rem !important;
        font-size: 0.875rem !important;
    }
}

/* Styles généraux pour les onglets actifs Bootstrap */
.nav-tabs .nav-link.active,
.nav-pills .nav-link.active {
    background-color: #007bff !important;
    border-color: #007bff !important;
    color: #fff !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.25) !important;
}

/* Style pour les onglets au survol */
.nav-tabs .nav-link:hover:not(.active),
.nav-pills .nav-link:hover:not(.active) {
    background-color: #f8f9fa !important;
    border-color: #e9ecef !important;
    color: #007bff !important;
    transition: all 0.15s ease-in-out !important;
}

.deuxcol {
    -moz-column-count: 2;
    -moz-column-gap: 10px;
    -webkit-column-count: 2;
    -webkit-column-gap: 10px;
    column-count: 2;
    column-gap: 10px;
    list-style: none;
    padding-left: 0;
}

.gp {
    color: #fff;
    background-color: #28a745;
}

.cardPal {
    float: left;
    zoom: 0.8;
}

.table_reduit {
    zoom: 0.9;
    margin: auto;
}

.table_reduit button {
    zoom: 0.8;
}

.table_reduit td, th {
    padding: 2px 4px 2px 4px;
    vertical-align: middle;
}

.listePetite {
    zoom: 0.8;
}

.cardPalInt {
    padding: 10px;
}

.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10000 !important;
    float: left;
    display: none;
    min-width: 160px;
    padding: 4px;
    font-size: large;
    line-height: 150%;
    margin: 0 0 10px 25px;
    list-style: none;
    background-color: #ffffff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

#camera canvas {
    display: none;
}

.labPal {
    width: 80px;
}

.selPal {
    width: auto;
    margin-right: 0;
    right: 0;
}

.search_enc {
    width: 40px;
}

@media (max-width:575px) {
    .display-4 {
        font-size: 1.5rem;
    }
    .day h5 {
        background-color: #f8f9fa;
        padding: 3px 5px 5px;
        margin: -8px -8px 8px -8px;
    }
    .date {
        padding-left: 4px;
    }
}

.editable {
    border: none;
}

.opacifie {
    opacity: 0.1;
}

@media screen and (min-width: 400px) {
    .zoomPalanquees {
        zoom: 1.2;
    }
}

.card {
    margin: 1px;
}

#spinner {
    background-image: url("./../img/spinner.gif");
    background-color: white;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    display: block;
    z-index: 1000;
    width: 100%;
    height: 100%;
    opacity: 80%;
    position: absolute;
    top: 120px;
}

.navbar {
    z-index: 2000;
}

.spinnerHide {
    display: none;
}

.actionTiv {
    color: white;
    font-weight: bolder;
    border: thin;
}

.TivAdvice {
    background-color: cadetblue;
}

.TivWarning {
    background-color: orange;
}

.TivDanger {
    background-color: darkred;
}

.filter-cal-hidden {
    opacity: 40%;
    text-decoration: line-through;
}

.badge-button {
    font-size: medium;
}

.alert-margin-custo {
    margin: 10px;
}

.alert-hidden {
    display: none;
}

.accordion-menu-mails {
    width: 250px;
    overflow-y: scroll;
    max-height: calc(100vh - 100px);
    float: left;
}

.indexCards {
    font-size: small;
}

.indexCards p {
    margin-bottom: 0.5em;
}

.toast-ideas {
    margin: 10px;
    float: left;
}

.total-ligne {
    font-weight: bold;
    color: red;
}

.total {
    font-weight: bold;
    background-color: rgb(219, 154, 159);
}

.total-cout {
    background-color: rgb(207, 238, 210);
}

.total-prix {
    font-weight: bold;
    background-color: rgb(219, 196, 154);
}

.total-info {
    background-color: rgb(154, 188, 219);
}

.base-info {
    background-color: rgb(207, 207, 207);
}

.sectionLogo {
    color: white;
    font-size: smaller;
    position: absolute;
    top: 45px;
    left: 55px;
    font-weight: bold;
}

.nav-link:hover, .nav-link:focus {
    background-color: #0088cc;
    color: #fff !important;
    border-radius: 5px;
}
.dropdown-item:hover, .dropdown-item:focus {
    background-color: #0088cc;
    color: #fff !important;
}

.membre-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 6px 10px;
    border: 2px solid #b3d1ff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.membre-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.membre-card img {
    transition: transform 0.2s;
    object-fit: cover;
}
.membre-card:hover img {
    transform: scale(3);
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Styles personnalisés pour la page albums.php */
.album-card {
    transition: transform 0.15s cubic-bezier(.4,2,.6,1), box-shadow 0.15s cubic-bezier(.4,2,.6,1);
}
.album-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.15);
    z-index: 2;
}
.album-card .card-img-top {
    object-fit: cover;
}
.card-img-photo-acpc {
    height: 200px;
}
.album-card .badge {
    margin-right: 0.25em;    
    border-radius: 0.45em;
    vertical-align: middle;
    font-weight: 500;
}
.album-card .btn {
    font-weight: 500;
}
/* Fin styles albums.php */

/* Styles personnalisés pour la page photos.php */
.card-img-top {
    transition: 0.2s;
}
.card-img-top:hover {
    filter: brightness(0.85) blur(1px);
    transform: scale(1.04);
}
.album-card:hover {
    box-shadow: 0 0 0.5rem #0d6efd;
    transform: translateY(-2px) scale(1.01);
    transition: 0.2s;
}

@media (min-width: 1400px) {
  .double-modal-xxl {
    max-width: 1920px;
  }
}

/*--------------------------------------------------------------------------
	Responsive Cards & Forms
--------------------------------------------------------------------------*/

@media (max-width: 768px) {
	.form-row {
		flex-direction: column;
		gap: 10px;
	}
	
	.form-col {
		min-width: unset;
	}
	
	.card-section {
		padding: 20px;
		margin-bottom: 20px;
	}
	
	.input-group-text {
		min-width: 120px;
		font-size: 0.9rem;
	}
	
	.section-title {
		font-size: 1.1rem;
	}
	
	.type-selector {
		flex-direction: column;
	}
	
	.tab-selector {
		flex-wrap: wrap;
	}
	
	.demande-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	
	.demande-info {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	
	.demande-actions {
		flex-direction: column;
	}
	
	.btn-action {
		width: 100%;
	}
}

@media (max-width: 576px) {
	.demande-container,
	.gestion-container,
	.gonflage-container {
		padding: 10px;
	}
	
	.input-group-text {
		min-width: 100px;
		font-size: 0.85rem;
	}
	
	.btn-primary-custom, 
	.btn-secondary-custom {
		width: 100%;
		padding: 15px;
	}
}
