/*
Theme Name: Mavis
Theme URI: https://themes.envytheme.com/mavis
Author: EnvyTheme
Author URI: https://envytheme.com
Description: Doctor, Medical WordPress Theme
Version: 1.6
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mavis
Tags: custom-menu, sticky-post, featured-images, threaded-comments, translation-ready
*/

.sticky-buttons-container {
    position: fixed;
    bottom: 40px;
    right: 5px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 99999 !important;
    pointer-events: auto;
    gap: 15px;
}

@media (max-width: 600px) {
  .sticky-buttons-container {
    bottom: 20px;
    right: 20px;
  }

  .sticky-button {
    width: 45px;
    height: 45px;
  }

  .whatsapp-button svg,
  .location-button svg {
    width: 24px;
    height: 24px;
  }

  .appointment-button {
    padding: 12px 30px;
    border-radius: 20px;
    font-size: 1em;
  }
}


.sticky-button {
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 15px;
    padding: 7px 0;
    font-weight: bold;
    color: #1e73be;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.sticky-button:focus, .sticky-button:active {
    outline: 2px solid #ff0000;
    outline-offset: 2px;
    z-index: 100000;
}

.sticky-button:hover {
    color: #005a8e;
    transform: scale(1.05);
}

.whatsapp-button {
    background-color: #25D366;
    color: white !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.location-button {
    background-color: #4285F4;
    color: white !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.location-button:hover {
    background-color: #3367D6;
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

.whatsapp-button svg,
.location-button svg {
    width: 28px;
    height: 28px;
}

.appointment-button {
    padding: 10px 24px;
    border-radius: 22px;
    font-size: 1em;
    min-width: 110px;
    max-width: 95vw;
    background: #EA4335;
    color: #fff !important;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(234, 67, 53, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
  from {
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(230,0,0,0.25), 0 2px 8px rgba(0,0,0,0.18);
  }
  to {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(230,0,0,0.40), 0 4px 12px rgba(0,0,0,0.28);
  }
}


.appointment-button:hover, .appointment-button:focus {
    background-color: #ff2222;
    color: #fff !important;
    transform: scale(1.09);
    box-shadow: 0 16px 48px rgba(255,34,34,0.35), 0 4px 16px rgba(0,0,0,0.28);
}