/* MTA Elektrik — includes/visibility/assets/i4-local-admin.css | F1 birleştirme */

/* ─── parça I4 ─── */
/* ═══════════════════════════════════════════════════════════════
   MTA I4 — Yerel SEO (Admin + Frontend)
   ═══════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────
   ADMIN
   ─────────────────────────────────────────────── */

.mta-i4-page { max-width: 1200px; }

.mta-i4-page h1 {
    font-size: 22px;
    margin-bottom: 18px;
}

.mta-i4-tabs {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #c3c4c7;
    flex-wrap: wrap;
}

.mta-i4-tabs a {
    display: inline-block;
    padding: 10px 16px;
    text-decoration: none;
    color: #50575e;
    font-weight: 600;
    font-size: 13px;
    border-bottom: 2px solid transparent;
}

.mta-i4-tabs a:hover { color: #0f172a; }
.mta-i4-tabs a.is-active { color: #6366f1; border-bottom-color: #6366f1; }

.mta-i4-content {
    background: #ffffff;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    padding: 24px;
}

.mta-i4-info-box {
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    padding: 14px 18px;
    border-radius: 4px;
    margin: 14px 0;
    font-size: 13px;
}

.mta-i4-info-box h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 14px;
}

.mta-i4-info-box code {
    background: rgba(99, 102, 241, 0.08);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 12px;
    color: #4338ca;
}

/* LOCATION CARDS */
.mta-i4-location-card {
    background: #f6f7f7;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    margin-bottom: 14px;
    overflow: hidden;
}

.mta-i4-loc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #ffffff;
    border-bottom: 1px solid #c3c4c7;
}

.mta-i4-loc-header strong {
    flex: 1;
    font-size: 14px;
}

.mta-i4-loc-badge {
    background: #6366f1;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.mta-i4-loc-remove {
    background: #fee2e2 !important;
    color: #991b1b !important;
    border-color: #fca5a5 !important;
}

.mta-i4-loc-body {
    padding: 16px;
}

.mta-i4-loc-body p {
    margin-bottom: 8px;
}

.mta-i4-loc-body label {
    display: block;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 4px;
}

.mta-i4-loc-body input,
.mta-i4-loc-body textarea {
    width: 100%;
    box-sizing: border-box;
}

.mta-i4-loc-body small {
    display: block;
    color: #94a3b8;
    margin-top: 2px;
    font-size: 11px;
}

/* HEALTH CHECK */
.mta-i4-health-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 20px 0;
}

@media (max-width: 1023px) {
    .mta-i4-health-grid { grid-template-columns: repeat(2, 1fr); }
}

.mta-i4-health-item {
    background: #ffffff;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
}

.mta-i4-health-item.is-ok {
    border-left: 4px solid #16a34a;
    background: #f0fdf4;
}

.mta-i4-health-item.is-warn {
    border-left: 4px solid #f59e0b;
    background: #fffbeb;
}

.mta-i4-health-icon {
    font-size: 18px;
    font-weight: 700;
}

.mta-i4-health-item.is-ok .mta-i4-health-icon { color: #16a34a; }
.mta-i4-health-item.is-warn .mta-i4-health-icon { color: #f59e0b; }

/* ISSUES LIST */
.mta-i4-issues {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.mta-i4-issues li {
    padding: 10px 14px;
    margin-bottom: 6px;
    border-radius: 6px;
    font-size: 13px;
}

.mta-i4-issue-success {
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    color: #166534;
}

.mta-i4-issue-warning {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.mta-i4-issue-error {
    background: #fee2e2;
    border-left: 4px solid #dc2626;
    color: #991b1b;
}

/* ───────────────────────────────────────────────
   FRONTEND — Lokasyon landing page
   ─────────────────────────────────────────────── */

.mta-i4-location-page {
    padding: 40px 0;
    min-height: 50vh;
}

.mta-i4-loc-hero {
    text-align: center;
    padding: 30px 0 50px;
    border-bottom: 1px solid var(--mta-border-soft, #e2e8f0);
    margin-bottom: 40px;
}

.mta-i4-loc-hero h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--mta-ink-strong, #0f172a);
    margin: 0 0 12px;
}

.mta-i4-loc-tagline {
    font-size: 16px;
    color: var(--mta-ink-muted, #475569);
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.mta-i4-loc-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
}

.mta-i4-loc-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--mta-surface-raised, #f8fafc);
    border: 1px solid var(--mta-border-soft, #e2e8f0);
    border-radius: 999px;
    color: var(--mta-ink-base, #1e293b);
}

.mta-i4-loc-meta-item a {
    color: var(--mta-color-primary, #6366f1);
    text-decoration: none;
    font-weight: 600;
}

.mta-i4-status-open {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
    color: #166534 !important;
}

.mta-i4-status-closed {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #991b1b !important;
}

.mta-i4-loc-content {
    max-width: 800px;
    margin: 0 auto;
}

.mta-i4-loc-content h2 {
    font-size: 24px;
    color: var(--mta-ink-strong, #0f172a);
    margin: 30px 0 16px;
}

.mta-i4-loc-content h3 {
    font-size: 18px;
    color: var(--mta-ink-strong, #0f172a);
    margin: 24px 0 12px;
}

.mta-i4-loc-content p {
    color: var(--mta-ink-base, #1e293b);
    line-height: 1.7;
    margin-bottom: 16px;
}

.mta-i4-loc-services {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

.mta-i4-loc-services li {
    padding: 8px 0;
    color: var(--mta-ink-base, #1e293b);
    font-size: 15px;
}

.mta-i4-hours-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--mta-surface-base, #ffffff);
    border: 1px solid var(--mta-border-soft, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
    margin: 16px 0 30px;
}

.mta-i4-hours-table tr {
    border-bottom: 1px solid var(--mta-border-soft, #e2e8f0);
}

.mta-i4-hours-table tr:last-child { border-bottom: none; }

.mta-i4-hours-table td {
    padding: 12px 16px;
    font-size: 14px;
}

.mta-i4-hours-table td:first-child {
    font-weight: 600;
    width: 120px;
    color: var(--mta-ink-strong, #0f172a);
}

.mta-i4-hours-table td em {
    color: var(--mta-ink-soft, #64748b);
    font-style: italic;
}

.mta-i4-loc-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    justify-content: center;
}

.mta-i4-loc-cta .mta-btn-lg {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .mta-i4-loc-hero h1 { font-size: 24px; }
    .mta-i4-loc-meta { gap: 8px; }
    .mta-i4-loc-meta-item { font-size: 13px; padding: 6px 12px; }
}

