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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f7fb;
    color: #222;
}

.navbar {
    background: #111827;
    padding: 15px 40px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

h2 {
    margin: 25px 0 10px;
}

form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

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

input, select {
    flex: 1;
}

button {
    background: #2563eb;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #1d4ed8;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th {
    background: #f3f4f6;
}

table th, table td {
    padding: 10px;
    border: 1px solid #e5e7eb;
    text-align: left;
}

pre {
    background: #f3f4f6;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

.error {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
}

.footer {
    background: #111827;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-size: 13px;
}

.ad-box {
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
}