/* Blacklist (RBL) Kontrol Stilleri */

/* Layout */
.blacklist-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blacklist-ip {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.01em;
    margin-bottom: 0.25rem;
}

.blacklist-domain {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Genel Durum Kutusu */
.blacklist-status-box {
    margin-top: 1rem;
    background: #f1f5f9;
    color: #475569;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blacklist-status-box.clean {
    background: #dcfce7;
    color: #166534;
}

.blacklist-status-box.listed {
    background: #fee2e2;
    color: #991b1b;
}

/* Spinner */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* İstatistikler */
.blacklist-summary {
    display: flex;
    gap: 1rem;
    justify-content: space-around;
    width: 100%;
    padding: 1rem 0;
    border-top: 1px solid #f1f5f9;
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.summary-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
}

.text-success {
    color: #16a34a;
}

.text-danger {
    color: #dc2626;
}

/* Sonuç Listesi Grid */
.blacklist-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

/* Blacklist Item */
.blacklist-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.blacklist-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.rbl-name {
    font-weight: 600;
    color: #334155;
    font-size: 0.9rem;
}

.rbl-status {
    font-size: 0.85rem;
    font-weight: 700;
}

/* Durum Renkleri */
.blacklist-item.loading {
    border-color: #e2e8f0;
    opacity: 0.7;
}

.blacklist-item.clean {
    border-left: 4px solid #22c55e;
}

.blacklist-item.clean .rbl-status {
    color: #16a34a;
}

.blacklist-item.listed {
    border-left: 4px solid #ef4444;
    background: #fef2f2;
}

.blacklist-item.listed .rbl-status {
    color: #dc2626;
}

.blacklist-item.error {
    border-left: 4px solid #94a3b8;
}

.blacklist-item.error .rbl-status {
    color: #94a3b8;
}

/* Link */
.rbl-link {
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: inherit;
}