/* Global Module Styles */
.ls-add-sample-btn {
    transition: all 0.3s ease;
}

.ls-add-sample-btn.ls-added {
    color: #ffc107 !important;
}

/* Modal Stylisée */
.ls-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ls-modal-overlay.active {
    display: flex !important;
    opacity: 1;
}

.ls-modal {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.ls-modal-overlay.active .ls-modal {
    transform: translateY(0);
}

.ls-modal-icon {
    width: 60px;
    height: 60px;
    background: #fff8e1;
    color: #ffc107;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.ls-modal h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: #333 !important;
}

.ls-modal p {
    color: #444 !important;
    line-height: 1.5;
    margin-bottom: 25px;
    font-size: 15px;
}

.ls-modal-btn {
    background: #ffc107;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.ls-modal-btn:hover {
    background: #e6af06;
    transform: scale(1.02);
}

/* Bandeau Règle */
.ls-limit-rule {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff8e1;
    border: 1px solid #ffe082;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    color: #856404;
}

.ls-limit-rule i,
.ls-limit-rule svg {
    color: #ffc107;
    font-size: 24px;
}

.ls-limit-rule p {
    margin: 0;
    font-weight: 500;
}

/* Filters Bar Premium */
#customer #content .ls-filters-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 30px !important;
    padding: 15px !important;
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
}

#customer #content .ls-status-filters {
    display: flex !important;
    gap: 8px !important;
    background: #f1f1f1 !important;
    padding: 6px !important;
    border-radius: 12px !important;
}

#customer #content .ls-filter-btn {
    border: none !important;
    background: transparent !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    color: #555 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 14px !important;
    outline: none !important;
    box-shadow: none !important;
}

#customer #content .ls-filter-btn:hover {
    color: #000 !important;
    background: rgba(255, 255, 255, 0.5) !important;
}

#customer #content .ls-filter-btn.active {
    background: #fff !important;
    color: #000 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

#customer #content .ls-search-box {
    position: relative !important;
    flex: 1 !important;
    max-width: 350px !important;
}

#customer #content #ls-search-input {
    width: 100% !important;
    padding: 12px 15px 12px 45px !important;
    border: 2px solid #eee !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    background: #fff !important;
    margin: 0 !important;
    height: auto !important;
}

#customer #content #ls-search-input:focus {
    border-color: #ffc107 !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1) !important;
}

#customer #content .ls-search-box svg,
#customer #content .ls-search-box i {
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #999 !important;
    width: 20px !important;
    height: 20px !important;
    pointer-events: none !important;
    margin: 0 !important;
}

@media (max-width: 991px) {
    #customer #content .ls-filters-bar {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    #customer #content .ls-search-box {
        max-width: none !important;
    }
}