.language-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3131b7;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
    margin-right: 15px;
}

.language-toggle i {
    font-size: 18px;
    margin-left: 5px;
}

.language-toggle .lang-text {
    font-weight: bold;
    font-size: 14px;
}

.language-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.language-toggle.english-mode {
    background-color: #3498db;
}

/* تأثير نبض للفت الانتباه */
@keyframes pulse-language {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.language-toggle {
    animation: pulse-language 2s infinite;
}
