/* ASIS senkron ilerleme paneli */
.motas-asis-sync {
    display: grid;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .motas-asis-sync {
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    }
}

.motas-asis-sync__card {
    border: 1px solid rgb(229 231 235);
    border-radius: 1rem;
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}

.dark .motas-asis-sync__card {
    border-color: rgb(255 255 255 / 0.1);
    background: var(--gray-900);
}

.motas-asis-sync__card--running {
    border-color: rgb(253 186 116 / 0.7);
    background: linear-gradient(145deg, #fff7ed 0%, #fff 42%, #fffbeb 100%);
}

.dark .motas-asis-sync__card--running {
    border-color: rgb(245 158 11 / 0.35);
    background: linear-gradient(145deg, rgb(120 53 15 / 0.25) 0%, var(--gray-900) 45%, rgb(69 26 3 / 0.2) 100%);
}

.motas-asis-sync__card--success {
    border-color: rgb(167 243 208 / 0.9);
    background: linear-gradient(145deg, #ecfdf5 0%, #fff 50%, #f0fdfa 100%);
}

.dark .motas-asis-sync__card--success {
    border-color: rgb(16 185 129 / 0.3);
    background: linear-gradient(145deg, rgb(6 78 59 / 0.25) 0%, var(--gray-900) 50%, rgb(19 78 74 / 0.2) 100%);
}

.motas-asis-sync__card--danger {
    border-color: rgb(254 202 202);
    background: linear-gradient(145deg, #fef2f2 0%, #fff 55%, #fff1f2 100%);
}

.dark .motas-asis-sync__card--danger {
    border-color: rgb(239 68 68 / 0.35);
    background: linear-gradient(145deg, rgb(127 29 29 / 0.25) 0%, var(--gray-900) 55%, rgb(136 19 55 / 0.18) 100%);
}

.motas-asis-sync__eyebrow {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.dark .motas-asis-sync__eyebrow {
    color: var(--gray-400);
}

.motas-asis-sync__title {
    margin: 0.5rem 0 0;
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--gray-950);
    line-height: 1.25;
}

.dark .motas-asis-sync__title {
    color: #fff;
}

.motas-asis-sync__title--info { color: #0284c7; }
.dark .motas-asis-sync__title--info { color: #38bdf8; }
.motas-asis-sync__title--success { color: #059669; }
.dark .motas-asis-sync__title--success { color: #34d399; }
.motas-asis-sync__title--danger { color: #dc2626; }
.dark .motas-asis-sync__title--danger { color: #f87171; }

.motas-asis-sync__meta {
    margin: 0.375rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--gray-500);
}

.dark .motas-asis-sync__meta { color: var(--gray-400); }

.motas-asis-sync__meta--emphasis { color: var(--gray-700); }
.dark .motas-asis-sync__meta--emphasis { color: var(--gray-300); }

.motas-asis-sync__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.motas-asis-sync__head-main {
    min-width: 0;
    flex: 1;
}

.motas-asis-sync__status-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.625rem 0.875rem;
    margin-top: 0.5rem;
}

.motas-asis-sync__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 999px;
    padding: 0.25rem 0.625rem;
    font-size: 0.8125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    background: rgb(254 243 199);
    color: rgb(146 64 14);
}

.dark .motas-asis-sync__badge {
    background: rgb(245 158 11 / 0.15);
    color: rgb(252 211 77);
}

.motas-asis-sync__pulse {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 999px;
    background: #f59e0b;
    animation: motas-asis-pulse 1.2s ease-in-out infinite;
}

@keyframes motas-asis-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

.motas-asis-sync__elapsed {
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
    color: var(--gray-500);
}

.dark .motas-asis-sync__elapsed { color: var(--gray-400); }

.motas-asis-sync__ring {
    position: relative;
    display: flex;
    width: 4.25rem;
    height: 4.25rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.motas-asis-sync__ring-inner {
    display: flex;
    width: 3.25rem;
    height: 3.25rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    text-align: center;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.06);
}

.dark .motas-asis-sync__ring-inner { background: var(--gray-950); }

.motas-asis-sync__ring-value {
    font-size: 0.9375rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: var(--gray-950);
}

.dark .motas-asis-sync__ring-value { color: #fff; }

.motas-asis-sync__ring-unit {
    margin-top: 0.125rem;
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.motas-asis-sync__track {
    margin-top: 1rem;
    height: 0.5rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgb(229 231 235 / 0.9);
}

.dark .motas-asis-sync__track { background: rgb(255 255 255 / 0.1); }

.motas-asis-sync__fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #ea580c);
    transition: width 0.45s ease;
}

.motas-asis-sync__fill--sky { background: #0ea5e9; }
.motas-asis-sync__fill--amber { background: #f59e0b; }
.motas-asis-sync__fill--violet { background: #8b5cf6; }
.motas-asis-sync__fill--emerald { background: linear-gradient(90deg, #10b981, #14b8a6); }
.motas-asis-sync__fill--muted { background: #d1d5db; }
.dark .motas-asis-sync__fill--muted { background: #4b5563; }

.motas-asis-sync__active {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-top: 0.75rem;
    font-size: 0.8125rem;
}

.motas-asis-sync__active-label {
    font-weight: 700;
    color: var(--gray-950);
}

.dark .motas-asis-sync__active-label { color: #fff; }

.motas-asis-sync__active-count,
.motas-asis-sync__active-pct {
    font-variant-numeric: tabular-nums;
    color: var(--gray-600);
}

.dark .motas-asis-sync__active-count,
.dark .motas-asis-sync__active-pct { color: var(--gray-300); }

.motas-asis-sync__active-remain {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: #b45309;
}

.dark .motas-asis-sync__active-remain { color: #fbbf24; }

.motas-asis-sync__steps {
    display: grid;
    gap: 0.625rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .motas-asis-sync__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
    .motas-asis-sync__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.motas-asis-sync__step {
    border: 1px solid rgb(229 231 235 / 0.9);
    border-radius: 0.75rem;
    background: rgb(255 255 255 / 0.75);
    padding: 0.75rem 0.875rem;
}

.dark .motas-asis-sync__step {
    border-color: rgb(255 255 255 / 0.1);
    background: rgb(3 7 18 / 0.35);
}

.motas-asis-sync__step--active {
    border-color: #fcd34d;
    background: rgb(255 255 255 / 0.9);
    box-shadow: 0 0 0 1px rgb(253 230 138 / 0.7);
}

.dark .motas-asis-sync__step--active {
    border-color: rgb(245 158 11 / 0.45);
    background: rgb(3 7 18 / 0.5);
    box-shadow: 0 0 0 1px rgb(245 158 11 / 0.2);
}

.motas-asis-sync__step--done {
    border-color: rgb(167 243 208);
    background: rgb(236 253 245 / 0.7);
}

.dark .motas-asis-sync__step--done {
    border-color: rgb(16 185 129 / 0.25);
    background: rgb(6 78 59 / 0.2);
}

.motas-asis-sync__step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.motas-asis-sync__step-name {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-800);
}

.dark .motas-asis-sync__step-name { color: var(--gray-100); }

.motas-asis-sync__step-state {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.motas-asis-sync__step-state--active {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #b45309;
}

.dark .motas-asis-sync__step-state--active { color: #fbbf24; }

.motas-asis-sync__step-state--done { color: #047857; }
.dark .motas-asis-sync__step-state--done { color: #6ee7b7; }

.motas-asis-sync__step-count {
    margin: 0.375rem 0 0;
    font-size: 0.875rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--gray-950);
}

.dark .motas-asis-sync__step-count { color: #fff; }

.motas-asis-sync__step-sub {
    margin: 0.125rem 0 0;
    font-size: 0.6875rem;
    font-variant-numeric: tabular-nums;
    color: var(--gray-500);
}

.dark .motas-asis-sync__step-sub { color: var(--gray-400); }

.motas-asis-sync__step-track {
    margin-top: 0.5rem;
    height: 0.25rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgb(229 231 235 / 0.9);
}

.dark .motas-asis-sync__step-track { background: rgb(255 255 255 / 0.1); }

.motas-asis-modal {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.motas-asis-modal__hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgb(253 186 116 / 0.55);
    border-radius: 1rem;
    background: linear-gradient(145deg, #fff7ed 0%, #fff 48%, #fffbeb 100%);
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}

.dark .motas-asis-modal__hero {
    border-color: rgb(245 158 11 / 0.3);
    background: linear-gradient(145deg, rgb(120 53 15 / 0.22) 0%, var(--gray-950) 48%, rgb(69 26 3 / 0.18) 100%);
}

.motas-asis-modal__hero--success {
    border-color: rgb(167 243 208);
    background: linear-gradient(145deg, #ecfdf5 0%, #fff 50%, #f0fdfa 100%);
}

.dark .motas-asis-modal__hero--success {
    border-color: rgb(16 185 129 / 0.3);
    background: linear-gradient(145deg, rgb(6 78 59 / 0.25) 0%, var(--gray-950) 50%, rgb(19 78 74 / 0.2) 100%);
}

.motas-asis-modal__hero--danger {
    border-color: rgb(254 202 202);
    background: linear-gradient(145deg, #fef2f2 0%, #fff 55%, #fff1f2 100%);
}

.dark .motas-asis-modal__hero--danger {
    border-color: rgb(239 68 68 / 0.35);
    background: linear-gradient(145deg, rgb(127 29 29 / 0.25) 0%, var(--gray-950) 55%, rgb(136 19 55 / 0.18) 100%);
}

.motas-asis-modal__hero-row {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .motas-asis-modal__hero-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.motas-asis-modal__kicker {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #b45309;
}

.dark .motas-asis-modal__kicker { color: #fcd34d; }

.motas-asis-modal__heading {
    margin: 0.25rem 0 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-950);
}

.dark .motas-asis-modal__heading { color: #fff; }

.motas-asis-modal__message {
    margin: 0.375rem 0 0;
    font-size: 0.875rem;
    color: var(--gray-600);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dark .motas-asis-modal__message { color: var(--gray-300); }

.motas-asis-modal__stats-line {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    color: var(--gray-500);
}

.dark .motas-asis-modal__stats-line { color: var(--gray-400); }

.motas-asis-modal__ring {
    position: relative;
    display: flex;
    width: 5rem;
    height: 5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.motas-asis-modal__ring-inner {
    display: flex;
    width: 4rem;
    height: 4rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.08);
}

.dark .motas-asis-modal__ring-inner { background: var(--gray-900); }

.motas-asis-modal__ring-value {
    font-size: 1.25rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: var(--gray-950);
}

.dark .motas-asis-modal__ring-value { color: #fff; }

.motas-asis-modal__ring-unit {
    margin-top: 0.125rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.motas-asis-modal__track {
    position: relative;
    margin-top: 1.25rem;
    height: 0.5rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgb(229 231 235 / 0.9);
}

.dark .motas-asis-modal__track { background: rgb(255 255 255 / 0.1); }

.motas-asis-modal__fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #ea580c);
    transition: width 0.45s ease;
}

.motas-asis-modal__grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .motas-asis-modal__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.motas-asis-modal__step {
    border: 1px solid rgb(229 231 235 / 0.9);
    border-radius: 1rem;
    background: #fff;
    padding: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.dark .motas-asis-modal__step {
    border-color: rgb(255 255 255 / 0.1);
    background: var(--gray-900);
}

.motas-asis-modal__step--stops.is-active {
    border-color: #7dd3fc;
    background: rgb(240 249 255 / 0.8);
    box-shadow: 0 0 0 1px rgb(186 230 253 / 0.7);
}

.motas-asis-modal__step--routes.is-active {
    border-color: #fcd34d;
    background: rgb(255 251 235 / 0.85);
    box-shadow: 0 0 0 1px rgb(253 230 138 / 0.7);
}

.motas-asis-modal__step--schedules.is-active {
    border-color: #c4b5fd;
    background: rgb(245 243 255 / 0.85);
    box-shadow: 0 0 0 1px rgb(221 214 254 / 0.7);
}

.dark .motas-asis-modal__step--stops.is-active {
    border-color: rgb(14 165 233 / 0.4);
    background: rgb(8 47 73 / 0.3);
}

.dark .motas-asis-modal__step--routes.is-active {
    border-color: rgb(245 158 11 / 0.4);
    background: rgb(69 26 3 / 0.3);
}

.dark .motas-asis-modal__step--schedules.is-active {
    border-color: rgb(139 92 246 / 0.4);
    background: rgb(46 16 101 / 0.3);
}

.motas-asis-modal__step-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.motas-asis-modal__step-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.motas-asis-modal__icon {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: #f3f4f6;
    color: #6b7280;
}

.dark .motas-asis-modal__icon {
    background: rgb(255 255 255 / 0.06);
    color: #9ca3af;
}

.motas-asis-modal__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.motas-asis-modal__icon--stops.is-on { background: #0ea5e9; color: #fff; }
.motas-asis-modal__icon--routes.is-on { background: #f59e0b; color: #fff; }
.motas-asis-modal__icon--schedules.is-on { background: #8b5cf6; color: #fff; }

.motas-asis-modal__step-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-950);
}

.dark .motas-asis-modal__step-title { color: #fff; }

.motas-asis-modal__step-meta {
    margin: 0.125rem 0 0;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.dark .motas-asis-modal__step-meta { color: var(--gray-400); }

.motas-asis-modal__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 999px;
    padding: 0.125rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
}

.motas-asis-modal__chip--done {
    background: #d1fae5;
    color: #047857;
}

.dark .motas-asis-modal__chip--done {
    background: rgb(16 185 129 / 0.12);
    color: #6ee7b7;
}

.motas-asis-modal__chip--active {
    background: rgb(255 255 255 / 0.85);
    color: var(--gray-700);
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
}

.dark .motas-asis-modal__chip--active {
    background: rgb(255 255 255 / 0.08);
    color: var(--gray-200);
}

.motas-asis-modal__step-track {
    margin-top: 1rem;
    height: 0.375rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgb(229 231 235 / 0.9);
}

.dark .motas-asis-modal__step-track { background: rgb(255 255 255 / 0.1); }

.motas-asis-modal__step-detail {
    margin: 0.75rem 0 0;
    font-size: 0.75rem;
    color: var(--gray-600);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dark .motas-asis-modal__step-detail { color: var(--gray-300); }

.motas-asis-modal__translations,
.motas-asis-modal__summary,
.motas-asis-modal__error {
    border-radius: 1rem;
    border: 1px solid rgb(229 231 235 / 0.9);
    background: #fff;
    padding: 1rem;
}

.dark .motas-asis-modal__translations,
.dark .motas-asis-modal__summary {
    border-color: rgb(255 255 255 / 0.1);
    background: var(--gray-900);
}

.motas-asis-modal__summary {
    display: grid;
    gap: 0.75rem;
    border-color: rgb(167 243 208 / 0.9);
    background: rgb(236 253 245 / 0.65);
}

.dark .motas-asis-modal__summary {
    border-color: rgb(16 185 129 / 0.25);
    background: rgb(6 78 59 / 0.2);
}

@media (min-width: 640px) {
    .motas-asis-modal__summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.motas-asis-modal__summary-label {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #047857;
}

.dark .motas-asis-modal__summary-label { color: #6ee7b7; }

.motas-asis-modal__summary-value {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-950);
}

.dark .motas-asis-modal__summary-value { color: #fff; }

.motas-asis-modal__error {
    border-color: #fecaca;
    background: #fef2f2;
    font-size: 0.875rem;
    color: #991b1b;
}

.dark .motas-asis-modal__error {
    border-color: rgb(239 68 68 / 0.35);
    background: rgb(127 29 29 / 0.3);
    color: #fecaca;
}

.motas-asis-modal__translations-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.motas-asis-modal__translations-count {
    font-size: 0.875rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--gray-700);
}

.dark .motas-asis-modal__translations-count { color: var(--gray-200); }

