/* ============================================================
   DVS Translator — Frontend Styles
   ============================================================ */

/* Language Switcher Buttons */
.dvst-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.dvst-switcher__btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1;
}

.dvst-switcher__btn:hover {
    border-color: #0073aa;
    color: #0073aa;
    background: #f0f8ff;
}

.dvst-switcher__btn--active {
    border-color: #0073aa;
    background: #0073aa;
    color: #fff !important;
}

.dvst-switcher__btn--active:hover {
    background: #005a8e;
    border-color: #005a8e;
}

/* RTL body */
body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* Smooth text transition when language changes */
[data-dvst] {
    transition: opacity 0.15s ease;
}