/**
 * Styles pour le plugin Téléphone Géolocalisé
 */

.geo-telephone-container {
    margin: 20px 0;
    text-align: center;
}

.geo-telephone-agency {
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
    font-weight: bold;
}

.geo-telephone-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #dc3545;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.geo-telephone-button:hover {
    background-color: #c82333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.geo-telephone-icon {
    display: inline-block;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Styles responsifs */
@media (max-width: 768px) {
    .geo-telephone-button {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }
}

/* Styles spécifiques pour les widgets dans les sidebars */
.widget .geo-telephone-container {
    margin: 10px 0;
}

.widget .geo-telephone-button {
    padding: 10px 15px;
    font-size: 16px;
}

/* Styles pour le bouton flottant (option future) */
.geo-telephone-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.geo-telephone-floating .geo-telephone-icon {
    margin: 0;
    font-size: 24px;
}

.geo-telephone-floating.expanded {
    width: auto;
    border-radius: 30px;
    padding: 0 20px;
}

.geo-telephone-floating .geo-telephone-text {
    display: none;
}

.geo-telephone-floating.expanded .geo-telephone-text {
    display: inline;
    margin-left: 8px;
}

/* Animation d'entrée */
@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.geo-telephone-container {
    animation: slideIn 0.5s ease forwards;
} 