/* DNSKit.Net - Global Propagation Tool Styles */

/* Layout */
.propagation-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Durum Paneli (Progress & Stats) */
.map-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.result-box .info-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.5rem;
    display: block;
    letter-spacing: 0.05em;
}

.propagation-summary-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.propagation-stats-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1e40af;
    border-radius: 6px;
    padding: 1rem;
    margin: 0;
}

.prop-info-text {
    font-size: 0.95rem;
}

.prop-stats-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid #dbeafe;
}

.stat-separator {
    color: #cbd5e1;
}

.stat-inline-item strong {
    font-size: 1.2rem;
    font-weight: 800;
}

/* Progress Bar */
.progress-bar {
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: #2563eb;
    width: 0%;
    transition: width 0.3s ease;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
}

/* Sunucu Listesi (Grid) */
.propagation-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 4rem;
}

/* Sunucu Kartı (.prop-item) */
.prop-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-left: 5px solid #cbd5e1;
    /* Varsayılan Gri (Loading) */
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.prop-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Renkli Kenarlıklar */
.prop-item.success {
    border-left-color: #16a34a;
}

/* Yeşil */
.prop-item.error {
    border-left-color: #dc2626;
}

/* Kırmızı */
.prop-item.loading {
    border-left-color: #94a3b8;
    opacity: 0.8;
}

/* Kart İçeriği */
.prop-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.75rem;
}

.prop-flag {
    font-size: 1.5rem;
    line-height: 1;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.prop-name {
    font-weight: 700;
    color: #334155;
    font-size: 0.95rem;
}

.prop-loc {
    font-size: 0.75rem;
    color: #64748b;
    margin-left: auto;
    background: #f8fafc;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-weight: 600;
}

.prop-value {
    font-size: 0.9rem;
    color: #334155;
    font-family: "SFMono-Regular", Consolas, monospace;
    word-break: break-all;
    line-height: 1.5;
    flex-grow: 1;
}

/* Metin Renkleri */
.text-success {
    color: #16a34a;
}

.text-danger {
    color: #dc2626;
}
/* --- Record Type Selector (Yatay Butonlar) --- */
.record-selector-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    display: flex; flex-direction: column; gap: 0.75rem;
}
.record-selector-container .selector-label {
    font-size: 0.8rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em;
}
.record-types {
    display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.5rem;
    scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent;
}
.record-type-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.5rem 1.25rem;
    background: #f1f5f9; color: #475569;
    border-radius: 6px; font-weight: 600; font-size: 0.95rem;
    border: 1px solid #e2e8f0; text-decoration: none; transition: all 0.2s;
    min-width: 60px; flex-shrink: 0;
}
.record-type-btn:hover {
    background: #e2e8f0; color: #1e293b; border-color: #cbd5e1;
}
.record-type-btn.active {
    background: #2563eb; color: #ffffff; border-color: #1d4ed8;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

