body {
    font-family: system-ui, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    color: #222;
}

#nav {
    background: #222;
    color: white;
    padding: 12px 20px;
    display: flex;
    gap: 20px;
    align-items: center;
}

#nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

#nav a:hover {
    text-decoration: underline;
}

#footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

h1, h2 {
    margin-top: 30px;
    margin-bottom: 10px;
}

input, textarea, button {
    font-size: 16px;
    padding: 8px;
    margin: 5px 0;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

button {
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background: #555;
}

body > *:not(#nav):not(#footer) {
    padding: 0 20px;
    max-width: 900px;
    margin: auto;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 12px 18px;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s, transform .3s;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.error {
    background: #c0392b;
}

.toast.success {
    background: #27ae60;
}

.toast.info {
    background: #2980b9;
}
