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

body {
    font-family: sans-serif;
    background: #f4f4f4;
    color: #333;
}

nav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: .75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .brand {
    font-weight: bold;
    font-size: 1.1rem;
}

nav .user {
    font-size: .875rem;
    color: #555;
}

nav a {
    font-size: .875rem;
    color: #4a90e2;
    text-decoration: none;
    margin-left: 1rem;
}

nav a:hover {
    text-decoration: underline;
}

.container {
    margin: 2rem auto;
    padding: 0 1rem;
}

.back {
    font-size: .875rem;
    color: #4a90e2;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.back:hover {
    text-decoration: underline;
}

.card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    padding: 1.5rem;
}

label {
    display: block;
    font-size: .85rem;
    color: #555;
    margin-bottom: .25rem;
}

input, textarea {
    display: block;
    width: 100%;
    padding: .5rem .75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

button {
    padding: .6rem 1.5rem;
    background: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

button:hover {
    background: #357abd;
}

.error {
    color: #c0392b;
    font-size: .875rem;
    margin-bottom: 1rem;
}

.success {
    color: #2e7d32;
    font-size: .875rem;
    margin-bottom: 1rem;
}
