﻿.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.modal.show {
    z-index: 1050;
}

.modal-xl {
    max-width: 1000px;
}

.rule-header-info {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

    .info-row:last-child {
        margin-bottom: 0;
    }

.info-label {
    font-weight: 600;
    color: #6b7280;
    min-width: 100px;
}

.info-value {
    color: #1f2937;
    flex: 1;
}

.badge-rule-type {
    background-color: #e0e7ff;
    color: #3730a3;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.implementation-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.statistics-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.table {
    margin-bottom: 0;
}

    .table thead th {
        background-color: #f9fafb;
        border-bottom: 2px solid #e5e7eb;
        color: #6b7280;
        font-weight: 600;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        padding: 0.75rem 1rem;
    }

    .table tbody td {
        padding: 1rem;
        vertical-align: middle;
    }

    .table tbody tr:hover {
        background-color: #f9fafb;
    }

.badge-operator {
    background-color: #dbeafe;
    color: #1e40af;
    font-family: monospace;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
}

.threshold-value {
    color: #059669;
    font-size: 1.125rem;
}

.empty-implementation {
    padding: 3rem;
    text-align: center;
    color: #6b7280;
    background-color: #f9fafb;
    border-radius: 0.5rem;
}

.statistics-section {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e7ff;
    color: #4f46e5;
    border-radius: 0.5rem;
    font-size: 1.25rem;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 0.25rem;
}
