:root {
    --bg: #FFFFFF;
    --surface: #FAFAFA;
    --surface-hover: #F4F4F4;
    --text-main: #111111;
    --text-muted: #666666;
    --line: #E5E5E5;
    --line-dark: #111111;
    --accent: #5E3DD2;
    --accent-light: #F0EBFF;
    --success: #166534;
    --success-bg: #EEF9F1;
    --success-border: #B7E8C6;
    --danger: #991B1B;
    --danger-bg: #FEF2F2;
    --danger-border: #FECACA;
    --font-fa: 'Vazirmatn', sans-serif;
    --font-en: 'Plus Jakarta Sans', sans-serif;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-fa);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.brand-logo-img {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.brand-name {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Common Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-fa);
}

.btn-black {
    background: var(--text-main);
    color: #fff;
}

.btn-black:hover {
    opacity: 0.88;
}

.btn-outline {
    border: 1px solid var(--line-dark);
    background: transparent;
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--surface);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* Footer */
footer {
    border-top: 1px solid var(--line);
    padding: 30px 0;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 60px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.enamad-wrapper {
    background: #ffffff;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.enamad-wrapper img {
    max-height: 70px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .footer-flex {
        flex-direction: column-reverse;
        text-align: center;
    }
}
