/* styles.css */

body {
    background: #f6f8fa;
    color: #222;
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background: #fff;
    padding: 24px 0 8px 0;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(34, 49, 63, 0.05);
}

header h1 {
    text-align: center;
    color: #334e68;
    margin: 0 0 8px 0;
    letter-spacing: 2px;
    font-size: 2rem;
}

nav {
    text-align: center;
    margin-bottom: 8px;
}

nav a {
    color: #5b7db1;
    text-decoration: none;
    font-weight: 500;
    margin: 0 14px;
    transition: color 0.2s;
}

nav a:hover {
    color: #2e4964;
}

main {
    max-width: 980px;
    margin: 24px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(34, 49, 63, 0.07);
    padding: 32px 40px;
}

h2 {
    color: #406080;
    margin-top: 0;
    letter-spacing: 1px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

input, select, textarea {
    padding: 10px 12px;
    border-radius: 7px;
    border: 1px solid #bfcad6;
    font-size: 1rem;
    transition: border 0.2s;
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: #5b7db1;
}

button {
    background: #406080;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 7px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(34, 49, 63, 0.05);
    transition: background 0.2s;
}

button:hover {
    background: #2e4964;
}

.table-container {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(50, 68, 104, 0.06);
}

th, td {
    padding: 10px 12px;
    text-align: left;
}

th {
    background: #f0f4f8;
    color: #406080;
    font-weight: 600;
    border-bottom: 1.5px solid #d1dbe7;
}

tr:nth-child(even) {
    background: #f6f8fa;
}

tr:hover {
    background: #eaf2fb;
}
