.grecaptcha-badge {
    bottom: 50px !important;
    display: none !important;
}

.padding_10 {
    padding: 10px !important;
}

.padding_left_10 {
    padding-left: 10px !important;
}

.margin_top_45 {
    margin-top: 45px;
}

.btn_appointment {
    margin: 0.25rem;
    padding: 0 0.75rem !important;
}

.btn_ {
    margin: 0.25rem;
    margin-bottom: 10px;
    padding: 0 1rem !important;
}

/* Barra de estado offline */
.offline-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(45deg, #d32f2f, #f44336);
    color: white;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.offline-bar.show {
    transform: translateY(0);
}

.offline-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    position: relative;
}

.offline-content i {
    margin-right: 8px;
    font-size: 16px;
    animation: pulse 2s infinite;
}

.offline-content span {
    font-weight: 500;
    font-size: 14px;
}

.offline-pulse {
    position: absolute;
    right: 16px;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }
}


/* Botón flotante PWA */
.pwa-install-button {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9998;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateX(120%);
    opacity: 0;
    display: none;
}

.pwa-install-button.show {
    transform: translateX(0);
    opacity: 1;
    display: flex;
    align-items: center;
}

.pwa-install-button:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateX(0) scale(1.05);
}

.pwa-install-button i {
    margin-right: 8px;
    font-size: 16px;
}


/* Animación de pulse para llamar la atención */
.pwa-install-button.pulse-animation {
    animation: pwa-pulse 2s infinite;
}

@keyframes pwa-pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(76, 175, 80, 0.7);
    }

    70% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Animación específica para auto-ocultamiento */
.pwa-install-button.auto-hide-animation {
    animation: pwa-auto-hide 2s ease-out forwards;
}

@keyframes pwa-auto-hide {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translateX(5px) scale(0.98);
    }

    100% {
        opacity: 0;
        transform: translateX(120%) scale(0.9);
    }
}

/* Botón flotante de notificaciones */
.notifications-button {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background: linear-gradient(45deg, #2196F3, #1976D2);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9997;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateX(120%);
    opacity: 0;
    display: none;
}

.notifications-button.show {
    transform: translateX(0);
    opacity: 1;
    display: flex;
    align-items: center;
}

.notifications-button:hover {
    background: linear-gradient(45deg, #1976D2, #2196F3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateX(0) scale(1.05);
}

.notifications-button i {
    margin-right: 8px;
    font-size: 16px;
}

/* Animación de pulse para notificaciones */
.notifications-button.pulse-animation {
    animation: notifications-pulse 2s infinite;
}

@keyframes notifications-pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(33, 150, 243, 0.7);
    }

    70% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(33, 150, 243, 0);
    }

    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(33, 150, 243, 0);
    }
}