/* Parsel Yaşam Döngüsü Sekmesi (v3 — 2026-06-12)
 *
 * Standalone CSS — map_dashboard.css'i bozmadan.
 * Bootstrap utility class'larıyla uyumlu; custom kısımlar pls- (parcel-lifecycle-section) prefix'i.
 */

/* Timeline (yatay zaman çizgisi) */
.pls-timeline {
    padding: 0.5rem 0;
}

.pls-step {
    min-width: 0;
}

.pls-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin: 0 auto;
    background: #dee2e6;  /* default: pending */
    border: 2px solid #adb5bd;
}

.pls-dot--completed {
    background: #198754;
    border-color: #146c43;
}

.pls-dot--active {
    background: #0d6efd;
    border-color: #0a58ca;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.18);
    animation: plsPulse 2s ease-in-out infinite;
}

.pls-dot--cancelled {
    background: #6c757d;
    border-color: #495057;
}

.pls-dot--pending {
    background: #f8f9fa;
    border-color: #ced4da;
}

@keyframes plsPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.18); }
    50% { box-shadow: 0 0 0 6px rgba(13, 110, 253, 0.10); }
}

.pls-step-label {
    font-weight: 500;
    color: #495057;
}

.pls-step-date {
    font-size: 0.75rem;
}

.pls-connector {
    flex: 0 0 auto;
    width: 16px;
    height: 2px;
    background: #dee2e6;
    margin-top: 7px;
}

/* Kartlar */
.pls-card {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    background: #fff;
}

.pls-card--muted {
    background: #f8f9fa;
}

.pls-card--cancelled {
    background: #f8f9fa;
    border-color: #ced4da;
    border-left: 4px solid #6c757d;
}

.pls-card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #212529;
    font-size: 0.95rem;
}

.pls-contractor-name a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.pls-contractor-name a:hover {
    text-decoration: underline;
}

/* Tedarikçi pill'leri */
.pls-supplier-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-2026-btn, 14px);
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    font-size: 0.875rem;
}

.pls-supplier-pill--verified {
    background: #d1e7dd;
    border-color: #a3cfbb;
}

.pls-supplier-pill a {
    color: inherit;
    text-decoration: none;
}

.pls-supplier-pill a:hover {
    text-decoration: underline;
}

/* Event timeline */
.pls-event-list {
    max-height: 240px;
    overflow-y: auto;
}

.pls-event {
    padding: 0.25rem 0;
    border-bottom: 1px solid #f1f3f5;
}

.pls-event:last-child {
    border-bottom: none;
}

/* CTA */
.pls-cta {
    background: linear-gradient(90deg, #fff8e1 0%, #fef3c7 100%) !important;
    border-color: #fde68a !important;
}

/* State etiketi */
.pls-state {
    font-style: italic;
}
