﻿.top-actions {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    direction: ltr; /* keeps the order fixed regardless of page direction */
    z-index: 100;
}

/* language toggle */
.lang-switch {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 2px solid var(--slate-dark, #33404f);
    border-radius: 999px;
    padding: 3px;
}

.lang-option {
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--slate-dark, #33404f);
    text-decoration: none;
    transition: background .2s, color .2s;
}

    .lang-option.active {
        background: var(--slate-dark, #33404f);
        color: #fff;
    }

    .lang-option:not(.active):hover {
        background: var(--field, #f2f4f7);
    }

/* منصة عدل button */
.adl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    direction: rtl;
    background: #fff;
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--slate-dark, #33404f);
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
    transition: box-shadow .2s, transform .2s;
}

    .adl-btn:hover {
        box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
        transform: translateY(-1px);
    }

    .adl-btn img {
        width: 20px;
        height: 20px;
    }
