/* Global Components CSS - Compatible with existing design */

/* Scroll to Top Button - Only styles, functionality in navigation.js */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px; /* À côté du bouton WhatsApp */
    width: 50px;
    height: 50px;
    background-color: #d4af37; /* Same as --primary */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background-color: #f4d03f; /* Same as --primary-light */
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: white;
}

.scroll-to-top i {
    transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
    transform: translateY(-2px);
}

/* Responsive positioning for scroll to top button - Visible on all screen sizes */
/* Desktop and large tablets */
@media (min-width: 1024px) {
    .scroll-to-top {
        right: 100px; /* À côté du WhatsApp */
        bottom: 30px;
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1023px) {
    .scroll-to-top {
        right: 80px;
        bottom: 30px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
    .scroll-to-top {
        right: 20px;
        bottom: 100px; /* Au-dessus du WhatsApp en mobile */
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 14px;
        bottom: 90px;
    }
}
/* 
Notifications
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: white;
    border-left: 4px solid;
}

.notification.success {
    border-left-color: #28a745;
}

.notification.error {
    border-left-color: #dc3545;
}

.notification.warning {
    border-left-color: #ffc107;
}

.notification.info {
    border-left-color: #17a2b8;
}

.notification-icon {
    margin-right: 12px;
    font-size: 20px;
}

.notification.success .notification-icon {
    color: #28a745;
}

.notification.error .notification-icon {
    color: #dc3545;
}

.notification.warning .notification-icon {
    color: #ffc107;
}

.notification.info .notification-icon {
    color: #17a2b8;
}

.notification-message {
    flex: 1;
    color: #333;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    margin-left: 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.notification-close:hover {
    background-color: #f8f9fa;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    } */
}