/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: #f4f7fa;
    color: #333;
}

/* Header */
header {
    background: #00796b;  /* Teal green – feedback theme */
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.5rem;
}

header nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
}

header nav a:hover {
    text-decoration: underline;
}

header nav span {
    margin-right: 1rem;
    font-weight: 500;
}

/* Main content */
main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Forms */
form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: border 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #00796b;
    outline: none;
}

button {
    background: #00796b;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #004d40;
}

/* Messages */
.error {
    background: #f8d7da;
    color: #721c24;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

th {
    background: #00796b;
    color: #fff;
    padding: 0.75rem;
    text-align: left;
    font-weight: 500;
}

td {
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
}

tr:last-child td {
    border-bottom: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background: #333;
    color: #fff;
    margin-top: 2rem;
}

/* Links */
a {
    color: #00796b;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}