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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f5f5f5;
    color: #333;
}

:root {
    --muted: #6b7280;
    --primary: #1a1a2e;
    --primary-hover: #2a2a4e;
    --border: #e5e7eb;
    --card-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    --success: #28a745;
    --danger: #dc3545;
    --focus-ring: rgba(59, 130, 246, 0.15);
    --focus-border: #3b82f6;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #888;
}

.empty {
    text-align: center;
    padding: 2rem;
    color: #888;
}

.error {
    text-align: center;
    padding: 2rem;
    color: #dc3545;
}

.notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    color: white;
    z-index: 2000;
    animation: slideIn 0.3s ease;
}

.notification.success {
    background: #28a745;
}

.notification.error {
    background: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.confirm-modal .modal-content {
    max-width: 400px;
}

.form-section {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
}

.form-section:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.form-section-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: #374151;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    padding: 0.65rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.data-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.data-table tbody tr:hover {
    background: #f9fafb;
}

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