* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    max-width: 800px;
    width: 100%;
}

.language-selector {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.lang-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: #f0f0f0;
}

.lang-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

header p {
    color: #666;
    font-size: 16px;
}

.info-panel {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.info-item span:first-child {
    color: #666;
    font-size: 14px;
}

.info-item span:last-child {
    color: #333;
    font-weight: 600;
    font-size: 16px;
}

.check-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.check-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.check-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.results-container {
    margin-top: 30px;
}

.result-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.result-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.site-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.status-icon {
    font-size: 24px;
}

.site-name {
    font-weight: 600;
    color: #333;
}

.site-url {
    color: #666;
    font-size: 14px;
}

.result-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.status-text {
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.status-accessible {
    background: #d4edda;
    color: #155724;
}

.status-slow {
    background: #fff3cd;
    color: #856404;
}

.status-blocked {
    background: #f8d7da;
    color: #721c24;
}

.status-checking {
    background: #cce5ff;
    color: #004085;
}

.response-time {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

.block-type {
    color: #dc3545;
    font-size: 11px;
    margin-top: 3px;
    font-style: italic;
    display: block;
}

.progress-container {
    margin-top: 30px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

#progress-text {
    color: #666;
    font-size: 14px;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .result-status {
        align-items: flex-start;
        width: 100%;
    }
}

.admin-container {
    max-width: 1200px;
}

.filters {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-item label {
    color: #666;
    font-size: 14px;
}

.filter-item input,
.filter-item select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.logs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.logs-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
}

.logs-table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}

.logs-table tr:hover {
    background: #f8f9fa;
}

.checks-details {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.check-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.badge-accessible {
    background: #d4edda;
    color: #155724;
}

.badge-blocked {
    background: #f8d7da;
    color: #721c24;
}

.badge-slow {
    background: #fff3cd;
    color: #856404;
}