/* اعتبار توسعه‌دهنده — مشترک سایت، ادمین، اپ‌ها */
.dev-credit {
    --dev-ink: #0f2a3a;
    --dev-muted: #5a7382;
    --dev-sea: #0a7ea4;
    --dev-sea-deep: #055a78;
    --dev-sand: #e8f4f8;
    --dev-line: rgba(10, 126, 164, 0.18);
    font-family: Peyda, Poppins, Tahoma, "Segoe UI", sans-serif;
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
}
.dev-credit *,
.dev-credit *::before,
.dev-credit *::after { box-sizing: border-box; }

.dev-credit__card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 22px 22px 18px;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(10, 126, 164, 0.16), transparent 55%),
        radial-gradient(80% 70% at 0% 100%, rgba(5, 90, 120, 0.12), transparent 50%),
        linear-gradient(165deg, #f7fcfe 0%, #eef7fb 48%, #e6f2f7 100%);
    border: 1px solid var(--dev-line);
    box-shadow: 0 10px 28px rgba(15, 42, 58, 0.08);
    color: var(--dev-ink);
}
.dev-credit__card::before {
    content: "";
    position: absolute;
    inset-inline-end: -40px;
    top: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(10, 126, 164, 0.08);
    pointer-events: none;
}
.dev-credit__eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(10, 126, 164, 0.12);
    color: var(--dev-sea-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.dev-credit__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.dev-credit__avatar {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--dev-sea), var(--dev-sea-deep));
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(5, 90, 120, 0.28);
}
.dev-credit__name {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--dev-ink);
}
.dev-credit__role {
    margin: 4px 0 0;
    font-size: 0.92rem;
    color: var(--dev-muted);
    font-weight: 500;
}
.dev-credit__lead {
    margin: 0 0 16px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dev-muted);
}
.dev-credit__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dev-credit__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--dev-line);
    color: var(--dev-sea-deep) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.dev-credit__chip:hover {
    transform: translateY(-1px);
    border-color: rgba(10, 126, 164, 0.4);
    box-shadow: 0 6px 14px rgba(15, 42, 58, 0.1);
    color: var(--dev-sea) !important;
}
.dev-credit__chip span { font-family: Poppins, Tahoma, sans-serif; direction: ltr; unicode-bidi: plaintext; }

/* خط نامحسوس برای سایت مشتری / اپ */
.dev-credit-subtle {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
    color: inherit;
    opacity: 0.62;
}
.dev-credit-subtle a {
    color: inherit !important;
    text-decoration: none !important;
    font-weight: 500;
}
.dev-credit-subtle a:hover {
    opacity: 1;
    text-decoration: underline !important;
}
.dev-credit-subtle__sep {
    margin: 0 5px;
    opacity: 0.7;
}
.dev-credit-subtle span {
    font-family: Poppins, Tahoma, sans-serif;
    direction: ltr;
    unicode-bidi: plaintext;
    font-size: 11px;
}
.aqua-footer-copy .dev-credit-subtle,
.aqua-footer-copy .dev-credit-subtle a {
    color: rgba(255, 255, 255, 0.72) !important;
    opacity: 1;
}

/* نوار فوتر ادمین */
.dev-credit-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
    padding: 6px 14px;
    background: #f3f6f8;
    color: #6a7f8c;
    font-size: 11px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.dev-credit-bar a {
    color: #55708a !important;
    text-decoration: none !important;
    font-weight: 600;
}
.dev-credit-bar a:hover { text-decoration: underline !important; color: #0a7ea4 !important; }
.dev-credit-bar__meta {
    opacity: 0.9;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
}
.dev-credit-bar__meta a,
.dev-credit-bar__meta span {
    font-family: Poppins, Tahoma, sans-serif;
    direction: ltr;
    unicode-bidi: plaintext;
}

/* صفحه کامل */
.dev-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 8px 0 28px;
}
.dev-page__hero {
    margin-bottom: 18px;
}
.dev-page__hero h1 {
    margin: 0 0 8px;
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f2a3a;
}
.dev-page__hero p {
    margin: 0;
    color: #5a7382;
    line-height: 1.7;
}

@media (max-width: 520px) {
    .dev-credit__links { gap: 6px; }
    .dev-credit-bar { flex-direction: column; align-items: flex-start; }
}
