body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f4f4f4;
    margin: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.navbar a {
    margin-left: 12px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.logo {
    font-weight: 700;
    margin-right: 16px;
}

.container {
    max-width: 900px;
    margin: 32px auto;
    padding: 0 16px;
}

h1 {
    margin-top: 0;
    margin-bottom: 16px;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 16px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 14px;
}

textarea {
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background: #007bff;
    color: #fff;
    font-size: 14px;
}

.btn:hover {
    background: #0056b3;
}

.btn-danger {
    background: #dc3545;
}

.btn-danger:hover {
    background: #b52a36;
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #545b62;
}

.alert {
    background: #ffe8e8;
    color: #b00020;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 8px 10px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.actions {
    white-space: nowrap;
}

.task-done td:nth-child(2),
.task-done td:nth-child(3) {
    text-decoration: line-through;
    color: #777;
}

.lang-switch a {
    font-size: 12px;
    text-decoration: none;
    color: #555;
}
