/* ============================================================
   Styles extraits du bloc <style> inline de index.html
   ============================================================ */

/* --- Menu latéral --- */
.menu-section {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-section h4 {
    color: #fff;
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

.menu-button-action {
    width: 100%;
    padding: 12px 16px;
    margin: 8px 0;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.menu-button-action:hover {
    background: linear-gradient(135deg, #2980b9, #1f5e99);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.menu-button-action:active {
    transform: translateY(0);
}

/* --- Bouton principal (visites / actions) --- */
.primary-btn {
    background: linear-gradient(135deg, #27ae60, #229954) !important;
    color: white !important;
    font-weight: 600 !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.primary-btn:hover {
    background: linear-gradient(135deg, #229954, #1e8449) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3) !important;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.primary-btn:hover::before {
    opacity: 1;
    animation: shimmer 0.6s ease;
}

/* --- Bouton secondaire --- */
.secondary-btn {
    background: linear-gradient(135deg, #3498db, #2980b9) !important;
    color: white !important;
    border: none !important;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.secondary-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f5e99) !important;
    transform: translateY(-1px) !important;
}

/* --- Recherche par proximité --- */
.proximity-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.proximity-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.proximity-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f5e99);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.proximity-btn:active {
    transform: translateY(0);
}

/* --- Mode Vacances --- */
.vacation-summary {
    background: rgba(52, 152, 219, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.25);
    color: #1c3d5a;
    padding: 10px 12px;
    border-radius: 10px;
    margin: 10px 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.vacation-preview {
    max-height: 160px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px;
    background: #fafbfc;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.vacation-preview .vacation-item {
    padding: 6px 0;
    border-bottom: 1px solid #e5e7eb;
}

.vacation-preview .vacation-item:last-child {
    border-bottom: none;
}

.vacation-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    width: 100%;
}

/* --- Animation shimmer --- */
@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
