/* ============================================================
   Electronic services pages — خدمات الکترونیک
   Extends .page-minimal-doc
   ============================================================ */

.page-eservice {
    --eservice-accent: #2f80ed;
    --eservice-accent-soft: rgba(47, 128, 237, 0.1);
}

.page-eservice .doc-hero__kicker {
    background: var(--eservice-accent-soft);
    color: var(--eservice-accent);
}

.page-eservice .doc-hero__line {
    background: linear-gradient(90deg, transparent, var(--eservice-accent), transparent);
}

.page-eservice .cms-fancy-box__accent {
    background: linear-gradient(90deg, var(--eservice-accent), #4fa3d9);
}

.page-eservice .cms-item--table .cms-item__kicker {
    background: var(--eservice-accent-soft);
    color: var(--eservice-accent);
}

.page-eservice .cms-table thead th {
    background: #eef4fc;
}

.page-eservice .cms-table tbody tr:hover td {
    background: rgba(47, 128, 237, 0.05);
}

.page-eservice .eservice-notes,
.page-eservice .eservice-steps {
    margin: 18px 0 0;
    padding: 16px 18px 16px 0;
    border-radius: 12px;
    background: var(--eservice-accent-soft);
    list-style: none;
}

.page-eservice .eservice-notes li,
.page-eservice .eservice-steps li {
    position: relative;
    margin: 0 0 10px;
    padding-right: 18px;
    color: var(--doc-ink, #16324a);
    font-size: 14px;
    line-height: 1.85;
}

.page-eservice .eservice-notes li:last-child,
.page-eservice .eservice-steps li:last-child {
    margin-bottom: 0;
}

.page-eservice .eservice-notes li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.65em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--eservice-accent);
}

.page-eservice .eservice-steps {
    counter-reset: eservice-step;
}

.page-eservice .eservice-steps li {
    padding-right: 34px;
}

.page-eservice .eservice-steps li::before {
    counter-increment: eservice-step;
    content: counter(eservice-step);
    position: absolute;
    right: 0;
    top: 0.1em;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--eservice-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
}

.page-eservice .eservice-callout {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px dashed rgba(47, 128, 237, 0.28);
    background: rgba(255, 255, 255, 0.7);
    color: var(--doc-ink, #16324a);
    font-size: 14px;
    line-height: 1.85;
}

.page-eservice .eservice-callout strong {
    color: var(--eservice-accent);
}

.page-eservice .cms-table tbody td:last-child .cms-table-cell-text {
    font-weight: 600;
    color: var(--eservice-accent);
}

.page-eservice .eservice-stack {
    gap: 24px;
}

@media (max-width: 767px) {
    .page-eservice .eservice-notes,
    .page-eservice .eservice-steps {
        padding-right: 14px;
    }
}
