/* Shared styles for public and admin pages */
:root {
    --soft-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

body {
    font-family: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
    direction: rtl;
}

.shadow-soft {
    box-shadow: var(--soft-shadow);
}

.agency-header {
    background: linear-gradient(90deg, #17043d 0%, #1b0650 60%, #14033b 100%);
    box-shadow: 0 8px 24px rgba(19, 5, 55, 0.32);
}

.text-brand-purple {
    color: #8c63ff;
}

.brand-logo {
    width: 124px;
    max-width: 42vw;
    height: auto;
    display: block;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: #e2dbff;
    transition: color 0.2s ease;
}

.icon-btn:hover {
    color: #ffffff;
}

.badge-dot {
    position: absolute;
    top: -0.35rem;
    left: -0.35rem;
    min-width: 1rem;
    height: 1rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.625rem;
    line-height: 1rem;
    text-align: center;
}

.mobile-menu {
    position: absolute;
    top: 4.2rem;
    left: 0;
    min-width: 14rem;
    border-radius: 0.75rem;
    background: #1c0751;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1rem;
    color: #e2dbff;
    z-index: 20;
}

@media (max-width: 640px) {
    .brand-logo {
        width: 102px;
    }
}

.tab-btn {
    border: 1px solid #e2e8f0;
    color: #334155;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    transition: all 0.2s ease;
    background: #ffffff;
}

.tab-btn:hover {
    border-color: #94a3b8;
    color: #0f172a;
}

.tab-btn.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.theme-option {
    display: block;
    width: 100%;
    text-align: right;
    border: 1px solid transparent;
    border-radius: 0.6rem;
    padding: 0.5rem 0.65rem;
    color: #334155;
    font-size: 0.9rem;
    transition: all 0.15s ease;
}

.theme-option:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.theme-option.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}


/* Better rendering for RTL Arabic UI */
[dir="rtl"] body,
body[dir="rtl"] {
    text-align: right;
}
