/* Base page layout */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    color: #333;
}

/* Page heading */
h1 {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/* Input form layout */
.form-box {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

input[type="text"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.input-title {
    flex: 2;
}

.input-content {
    flex: 3;
}

/* Action buttons */
button {
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    background: #2563eb;
    color: white;
    cursor: pointer;
    font-weight: 600;
}

button:hover {
    background: #1d4ed8;
}

button.delete {
    background: #dc2626;
    padding: 6px 12px;
    font-size: 12px;
}

button.delete:hover {
    background: #b91c1c;
}

/* Data table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

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

th {
    background: #f8fafc;
    font-size: 13px;
    text-transform: uppercase;
    color: #64748b;
}