/* ===== SPAM CHECK TOOL STYLES ===== */

.spam-check-tool {
    width: 100%;
}

.spam-tool-description {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.spam-tool-description p {
    margin-bottom: 12px;
    color: #555;
}

.spam-tool-description p:last-child {
    margin-bottom: 0;
}

/* Форма ввода */
.spam-input-section {
    margin-bottom: 25px;
}

.spam-input-section .form-group {
    margin-bottom: 20px;
}

.spam-input-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 15px;
}

.spam-input-section input[type="text"] {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.spam-input-section input[type="text"]:focus {
    outline: none;
    border-color: #0066cc;
}

/* Секция капчи */
.spam-captcha-section {
    display: none;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Блок ожидания */
.spam-check-tool .wait-block {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 30px 0;
}

.spam-check-tool .wait-message {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.spam-check-tool .progress-info {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.spam-check-tool .progress-info span {
    font-weight: 700;
    color: #0066cc;
}

/* Результаты */
.spam-results {
    margin-top: 30px;
}

.spam-results h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

/* Сводка результатов */
.spam-summary {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.summary-item {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.summary-clean {
    background: #d4edda;
    border: 2px solid #28a745;
}

.summary-blacklisted {
    background: #f8d7da;
    border: 2px solid #dc3545;
}

.summary-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.summary-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

.summary-clean .summary-value {
    color: #28a745;
}

.summary-blacklisted .summary-value {
    color: #dc3545;
}

/* Таблица результатов */
.spam-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.spam-table thead {
    background: #343a40;
    color: white;
}

.spam-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.spam-table td {
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
    font-size: 14px;
}

.spam-table tr:last-child td {
    border-bottom: none;
}

.spam-table .status-cell {
    font-weight: 600;
    text-align: center;
    min-width: 150px;
}

/* Статусы в таблице */
.spam-table .status-clean {
    background: #f8f9fa;
}

.spam-table .status-clean .status-cell {
    color: #28a745;
}

.spam-table .status-blacklisted {
    background: #fff5f5;
}

.spam-table .status-blacklisted .status-cell {
    color: #dc3545;
}

.spam-table .status-blacklisted strong {
    color: #dc3545;
}

.spam-table .status-error {
    background: #fff9e6;
}

.spam-table .status-error .status-cell {
    color: #ffc107;
}

/* Ссылка на удаление из списка */
.delist-link {
    display: inline-block;
    margin-top: 5px;
    color: #007bff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.delist-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Информационный блок */
.spam-tool-info {
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.spam-tool-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.spam-tool-info p {
    line-height: 1.6;
    margin-bottom: 12px;
    color: #555;
}

.spam-tool-info p:last-child {
    margin-bottom: 0;
}

/* ========================================
   MEDIA QUERIES - SPAM CHECK
   ======================================== */

@media (max-width: 1400px) {
    .summary-item {
        min-width: 180px;
    }
}

@media (max-width: 1200px) {
    .spam-table th,
    .spam-table td {
        padding: 12px;
    }
}

@media (max-width: 991px) {
    .spam-summary {
        gap: 15px;
    }
    
    .summary-item {
        min-width: 150px;
        padding: 15px;
    }
    
    .spam-results h2 {
        font-size: 22px;
    }
}

@media (max-width: 810px) {
    .spam-table {
        font-size: 13px;
    }
    
    .spam-tool-info h3 {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .spam-tool-description {
        padding: 15px;
    }
    
    .spam-captcha-section {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    .spam-results h2 {
        font-size: 20px;
    }
    
    .spam-summary {
        flex-direction: column;
        gap: 15px;
    }
    
    .summary-item {
        min-width: 100%;
    }
    
    .spam-table {
        display: block;
        overflow-x: auto;
    }
    
    .spam-table thead {
        display: none;
    }
    
    .spam-table,
    .spam-table tbody,
    .spam-table tr,
    .spam-table td {
        display: block;
        width: 100%;
    }
    
    .spam-table tr {
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .spam-table td {
        text-align: left;
        padding: 10px 15px;
        position: relative;
        padding-left: 50%;
    }
    
    .spam-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        padding-right: 10px;
        font-weight: 600;
        color: #666;
    }
    
    .spam-table .status-cell {
        text-align: left;
    }
}

@media (max-width: 650px) {
    .spam-tool-description,
    .spam-tool-info {
        padding: 15px;
    }
    
    .spam-check-tool .wait-block {
        padding: 30px 15px;
    }
    
    .summary-value {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .spam-results h2 {
        font-size: 18px;
    }
    
    .spam-tool-info h3 {
        font-size: 16px;
    }
    
    .spam-input-section label {
        font-size: 14px;
    }
    
    .spam-input-section input[type="text"] {
        font-size: 14px;
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .summary-value {
        font-size: 24px;
    }
    
    .spam-check-tool .wait-message {
        font-size: 14px;
    }
    
    .spam-table td {
        padding: 8px 12px;
        padding-left: 50%;
    }
}

@media (max-width: 420px) {
    .spam-table td {
        font-size: 13px;
    }
    
    .summary-item {
        padding: 12px;
    }
}

@media (max-width: 375px) {
    .spam-tool-description,
    .spam-tool-info {
        padding: 12px;
    }
    
    .spam-results h2 {
        font-size: 17px;
    }
}

@media (max-width: 360px) {
    .summary-item {
        padding: 10px;
    }
    
    .summary-value {
        font-size: 22px;
    }
}

@media (max-width: 320px) {
    .spam-results h2 {
        font-size: 16px;
    }
    
    .summary-value {
        font-size: 20px;
    }
    
    .spam-tool-info h3 {
        font-size: 15px;
    }
}

