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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #667eea;
    text-align: center;
}

.header-actions {
    text-align: center;
    margin-bottom: 2rem;
}

.add-button {
    display: inline-block;
    background: #667eea;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.2s;
}

.add-button:hover {
    background: #5568d3;
}

.nav-link {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
    color: #667eea;
    text-decoration: none;
}

.nav-link:hover {
    text-decoration: underline;
}

button {
    background: #667eea;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

button:hover {
    background: #5568d3;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: none;
}

#message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

#message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

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

#error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: none;
}
