:root {
    --primary: #6dab3c;
    --secondary: #72bf46;
    --success: #28a745;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --bg: #ffffff;
    --text: #212529;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--light);
    color: var(--text);
}

header {
    background-color: var(--primary);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a {
    margin-left: 1rem;
}

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

h1, h2, h3 {
    margin-top: 0;
}

button, .btn {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    background-color: var(--primary);
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
}

.btn-secondary { background-color: var(--secondary); }
.btn-success { background-color: var(--success); }
.btn-danger { background-color: var(--danger); }
.btn-block { display: block; width: 100%; }

form div {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th, td {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
    text-align: left;
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    background-color: #d1ecf1;
    color: #0c5460;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    nav {
        margin-top: 0.5rem;
    }
    nav a {
        margin-left: 0;
        margin-right: 1rem;
    }
}
