/* Automod Plugin - User Details Page Styles */
/* Only loaded on users.details page to avoid unnecessary CSS loading */

/* Automod Summary Cards - Dark Theme Optimized */
.automod-summary .col-xs-6.col-sm-3 .label {
    display: block !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    margin-bottom: 8px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    border: 1px solid transparent;
}

/* Automod Toggle Button - Dark Theme Optimized */
.automod-profile-widget .btn {
    background-color: rgba(52, 144, 220, 0.9) !important;
    border: 1px solid rgba(52, 144, 220, 0.6) !important;
    color: #ffffff !important;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-shadow: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.automod-profile-widget .btn:hover {
    background-color: rgba(52, 144, 220, 1) !important;
    border-color: rgba(52, 144, 220, 0.8) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.automod-profile-widget .btn-warning {
    background-color: rgba(240, 173, 78, 0.9) !important;
    border-color: rgba(240, 173, 78, 0.6) !important;
}

.automod-profile-widget .btn-warning:hover {
    background-color: rgba(240, 173, 78, 1) !important;
    border-color: rgba(240, 173, 78, 0.8) !important;
}

/* Puan - Mavi tonları */
.automod-summary .label-primary {
    background-color: rgba(52, 144, 220, 0.8) !important;
    color: #ffffff !important;
    border-color: rgba(52, 144, 220, 0.3);
}

/* Aktif - Yeşil tonları */  
.automod-summary .label-success {
    background-color: rgba(92, 184, 92, 0.8) !important;
    color: #ffffff !important;
    border-color: rgba(92, 184, 92, 0.3);
}

/* Toplam - Gri tonları */
.automod-summary .label-default {
    background-color: rgba(108, 117, 125, 0.8) !important;
    color: #ffffff !important;
    border-color: rgba(108, 117, 125, 0.3);
}

/* Rapor - Turuncu/Kırmızı tonları */
.automod-summary .label-danger {
    background-color: rgba(217, 83, 79, 0.8) !important;
    color: #ffffff !important;
    border-color: rgba(217, 83, 79, 0.3);
}

/* Automod Warnings Table Styling */
.automod-warnings-table {
    background-color: rgb(30, 32, 33);
    border: 1px solid rgb(56, 60, 63);
    border-radius: 4px;
    overflow: hidden;
    font-size: 11px;
}

.automod-warnings-table thead th {
    background-color: rgba(255,255,255,0.08);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 10px !important; /* Küçültüldü */
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 6px 4px; /* Küçültüldü */
    border-bottom: 1px solid rgb(56, 60, 63);
    white-space: nowrap;
}

.automod-warnings-table tbody tr {
    border-bottom: 1px solid rgba(56, 60, 63, 0.3);
    transition: background-color 0.15s ease;
}

.automod-warnings-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.automod-warnings-table tbody tr.warning {
    background-color: rgba(255, 193, 7, 0.08);
}

.automod-warnings-table tbody tr.active {
    background-color: rgba(92, 184, 92, 0.08);
}

.automod-warnings-table tbody td {
    padding: 6px 4px; /* Küçültüldü */
    color: rgba(255, 255, 255, 0.75);
    font-size: 10px; /* Küçültüldü */
    border-bottom: none;
    line-height: 1.2; /* Küçültüldü */
    word-wrap: break-word;
}

/* Seviye sütunu label'ları - küçük boyut */
.automod-warnings-table .label {
    border-radius: 2px; /* Küçültüldü */
    font-weight: 500;
    font-size: 8px !important; /* Küçültüldü */
    padding: 2px 4px !important; /* Küçültüldü */
    text-transform: uppercase;
    letter-spacing: 0.1px;
    display: inline-block;
    min-width: 35px; /* Minimum genişlik */
    text-align: center;
}

/* Puan sütunu badge'leri - küçük boyut */
.automod-warnings-table .badge {
    border-radius: 8px; /* Küçültüldü */
    font-weight: 500; /* Azaltıldı */
    font-size: 8px !important; /* Küçültüldü */
    padding: 2px 6px !important; /* Küçültüldü */
    min-width: 20px; /* Küçültüldü */
    display: inline-block;
    text-align: center;
}

.automod-warnings-table .badge-danger {
    background-color: #d9534f;
    color: #fff;
}

.automod-warnings-table .badge-default {
    background-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.8);
}

/* İşlem butonları - küçük boyut */
.automod-warnings-table .automod-action-btn {
    font-size: 8px !important;
    padding: 2px 6px !important;
    border-radius: 2px;
    line-height: 1.2;
}

.automod-warnings-table .automod-action-btn i {
    font-size: 8px !important;
    margin-right: 2px;
}

.automod-warnings-table .automod-no-action {
    font-size: 8px !important;
}

/* Topic link styling */
.automod-warnings-table .text-info {
    color: #5bc0de !important;
    text-decoration: none;
    font-size: 11px;
    font-weight: normal;
}

.automod-warnings-table .text-info:hover {
    color: #31b0d5 !important;
    text-decoration: underline;
}

.automod-warnings-table .text-info i {
    margin-right: 3px;
    font-size: 10px;
}

/* Responsive table improvements */
@media (max-width: 768px) {
    .automod-warnings-table {
        font-size: 9px;
    }
    
    .automod-warnings-table th,
    .automod-warnings-table td {
        padding: 4px 2px;
    }
    
    .automod-warnings-table .automod-action-btn {
        padding: 1px 4px;
        font-size: 7px;
    }
    
    .automod-warnings-table .label {
        font-size: 7px;
        padding: 1px 3px;
    }
    
    .automod-warnings-table .badge {
        font-size: 7px;
        padding: 1px 4px;
    }
}