/* Floating Appointment Button Styles */
.floating-appointment-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 50px;
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards 1s;
}

.floating-appointment-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background-color: var(--primary-color-dark);
    color: white;
}

.floating-appointment-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Animation for the button */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse animation for attention */
.floating-appointment-btn.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .floating-appointment-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .floating-appointment-btn i {
        font-size: 1rem;
    }
}

/* Dark mode styles */
.dark-mode .floating-appointment-btn {
    background-color: var(--primary-color);
    color: white;
}

.dark-mode .floating-appointment-btn:hover {
    background-color: var(--primary-color-dark);
}

/* When dark mode toggle is visible, adjust position */
@media (min-width: 768px) {
    .floating-appointment-btn {
        bottom: 90px;
    }
}
