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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

h1 {
    color: #2c3e50;
}

.form-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.form-section h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

form {
    display: flex;
    gap: 10px;
}

input[type="url"] {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    padding: 12px 24px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

button:hover {
    background: #2980b9;
}

#results {
    margin-bottom: 30px;
}

.crud-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.crud-section h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.pending {
    background: #ffeaa7;
    color: #d35400;
}

.status-badge.processing {
    background: #81ecec;
    color: #00cec9;
}

.status-badge.completed {
    background: #55efc4;
    color: #00b894;
}

.status-badge.failed {
    background: #fab1a0;
    color: #d63031;
}

.live-results {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.live-results h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.result-line {
    padding: 10px;
    border-left: 3px solid #3498db;
    margin-bottom: 10px;
    background: #f8f9fa;
}

.success-alert {
    padding: 15px;
    background: #d4edda;
    color: #155724;
    border-radius: 4px;
    margin: 20px 0;
    border-left: 4px solid #28a745;
}

.error-alert {
    padding: 15px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 4px;
    margin: 20px 0;
    border-left: 4px solid #dc3545;
}

.report-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.report-section h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}