/* ========================================
   SKELETON LOADER
   ======================================== */
.page-skeleton {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    z-index: 9999;
    padding: 1rem;
    overflow-y: auto;
    padding-bottom: 80px;
}

.skeleton-header-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.skeleton-title {
    height: 32px;
    background: #e0e0e0;
    border-radius: 8px;
    width: 60%;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.skeleton-subtitle {
    height: 20px;
    background: #e0e0e0;
    border-radius: 4px;
    width: 40%;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.skeleton-map {
    height: 300px;
    background: #e0e0e0;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.skeleton-button {
    height: 48px;
    background: #e0e0e0;
    border-radius: 50px;
    width: 200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.skeleton-details-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.skeleton-section-title {
    height: 24px;
    background: #e0e0e0;
    border-radius: 4px;
    width: 150px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.skeleton-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.skeleton-icon {
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.skeleton-text-group {
    flex: 1;
}

.skeleton-text-line {
    height: 16px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    width: 80%;
    position: relative;
    overflow: hidden;
}

.skeleton-text-line.short {
    width: 50%;
}

.skeleton-hours-row {
    height: 40px;
    background: #e0e0e0;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.skeleton-description {
    height: 100px;
    background: #e0e0e0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* Animation Shimmer */
.skeleton-title::after,
.skeleton-subtitle::after,
.skeleton-map::after,
.skeleton-button::after,
.skeleton-section-title::after,
.skeleton-icon::after,
.skeleton-text-line::after,
.skeleton-hours-row::after,
.skeleton-description::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(255, 255, 255, 0)
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* ========================================
   PAGE STYLES
   ======================================== */
:root {
    --main-purple: #B491CA;
    --light-purple: #F8EFEF;
    --dark-blue: #080759;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #B491CA 0%, #764ba2 100%);
}

.text-main-purple {
    color: var(--main-purple) !important;
}

.bg-main-purple {
    background-color: var(--main-purple) !important;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.text-gray-600 {
    color: var(--gray-600);
}

.text-gray-700 {
    color: var(--gray-700);
}

.btn-main-purple {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-main-purple:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(180, 145, 202, 0.4);
}

.btn-outline-main-purple {
    border: 2px solid var(--main-purple);
    color: var(--main-purple);
    background: transparent;
    transition: all 0.3s ease;
    font-weight: bold;
}

.btn-outline-main-purple:hover {
    background: var(--main-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(180, 145, 202, 0.3);
}

.hover-lift:hover {
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

.gradient-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid var(--main-purple);
}

.bg-light-hover {
    transition: all 0.3s ease;
}

.bg-light-hover:hover {
    background-color: #f8f9fa !important;
    transform: translateX(5px);
}

.icon-container {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hours-container {
    border-left: 4px solid var(--main-purple);
}

.hours-row {
    transition: all 0.3s ease;
}

.hours-row:hover {
    background-color: #f8f9fa !important;
    transform: translateX(3px);
}

.description-content {
    border-left: 4px solid var(--main-purple);
    font-style: italic;
}

.company-section {
    border-bottom: 2px dashed #e9ecef !important;
}

.company-section:last-child {
    border-bottom: none !important;
}

.info-item {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-left-color: var(--main-purple);
    background-color: #f8f9fa;
}

/* Animation pour le chargement */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 576px) {
    .btn-main-purple {
        width: 100%;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .icon-container {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}

/* Styles pour la carte */
#map-container {
    border-radius: 15px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Styles pour le loader */
.spinner-border.text-main-purple {
    color: #B491CA;
    width: 3rem;
    height: 3rem;
}

/* Badge styles */
.badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}
