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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #2c3e50;
}

.nav-brand {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
}

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

main {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

.flash {
    background: #e74c3c;
    color: white;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

form div {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

button {
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
    background: #3498db;
    color: white;
    cursor: pointer;
    font-weight: 600;
    width: auto;
    display: inline-block;
}

button:hover {
    background: #2980b9;
}

.btn-secondary {
    background: #95a5a6;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-primary {
    background: #3498db;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-danger {
    background: #e74c3c;
}

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

.btn-warning {
    background: #f39c12;
}

.btn-warning:hover {
    background: #d68910;
}

.btn-success {
    background: #27ae60;
}

.btn-success:hover {
    background: #1e8449;
}

.btn-small {
    width: auto;
    padding: 0.3rem 0.6rem;
    font-size: 0.85rem;
    display: inline-block;
}

.btn-group {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.exercise-item, .workout-item {
    background: white;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.exercise-item a, .workout-item a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
}

.set-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.set-row input {
    flex: 1;
}
