body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #eef5f2;
    color: #1f2937;
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

h2 {
    text-align: center;
    margin-bottom: 24px;
    color: #1f2937;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
}

input:focus {
    outline: none;
    border-color: #2f8f6b;
    box-shadow: 0 0 0 2px rgba(47, 143, 107, 0.15);
}

button {
    width: 100%;
    padding: 12px;
    background: #2f8f6b;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 15px;
    cursor: pointer;
}

button:hover {
    background: #257a5c;
}

a {
    color: #2f8f6b;
    text-decoration: none;
    font-size: 14px;
}

a:hover {
    text-decoration: underline;
}

/* таблицы (админка) */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

th {
    background: #f3faf7;
    color: #1f2937;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

tr:last-child td {
    border-bottom: none;
}

/* карточки на странице ученика */
.card-block {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}
