:root {
    --dz-orange: #F0801E;
    --dz-charcoal: #1C1D20;
    --dz-muted: #72767B;
    --dz-border: #E9EBED;
    --dz-offwhite: #FDFEFE;
}

.dz-public-header,
.dz-public-footer {
    font-family: "Montserrat", sans-serif;
}

html[dir="rtl"] .dz-public-header,
html[dir="rtl"] .dz-public-footer {
    font-family: "Cairo", sans-serif;
}

.dz-public-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(253, 254, 254, .97);
    border-bottom: 1px solid var(--dz-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dz-topbar {
    width: min(1180px, calc(100% - 40px));
    height: 82px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.dz-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dz-charcoal) !important;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
}

.dz-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 13px;
}

.dz-main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-inline-start: auto;
}

.dz-main-nav a {
    color: var(--dz-charcoal) !important;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: color .2s ease;
}

.dz-main-nav a:hover {
    color: var(--dz-orange) !important;
}

.dz-lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--dz-border);
    background: #fff;
    color: var(--dz-charcoal) !important;
    border-radius: 999px;
    padding: 9px 16px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none !important;
    white-space: nowrap;
}

.dz-lang-toggle:hover {
    border-color: var(--dz-orange);
    color: var(--dz-orange) !important;
}

.dz-public-footer {
    background: var(--dz-offwhite);
    border-top: 1px solid var(--dz-border);
    padding: 28px 20px;
}

.dz-footer-inner {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: .84rem;
    color: var(--dz-muted);
}

.dz-footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--dz-charcoal);
    white-space: nowrap;
}

.dz-footer-brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
}

.dz-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.dz-footer-links a {
    color: var(--dz-muted) !important;
    text-decoration: none !important;
    transition: color .2s ease;
}

.dz-footer-links a:hover {
    color: var(--dz-orange) !important;
}

.dz-footer-copy {
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 860px) {
    .dz-main-nav {
        display: none;
    }

    .dz-footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .dz-footer-copy {
        white-space: normal;
    }
}

@media (max-width: 560px) {
    .dz-topbar {
        width: calc(100% - 26px);
    }

    .dz-brand span {
        font-size: .92rem;
    }

    .dz-lang-toggle {
        padding: 8px 13px;
        font-size: .85rem;
    }
}
