body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #eaf6fb;
    color: #003049;
    margin: 0;
    padding: 20px;
}

h1, h2 {
    text-align: center;
    color: #0077b6;
    margin-bottom: 20px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

form {
    background-color: #f0faff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

form h2 {
    color: #005f73;
    margin-bottom: 15px;
}

dl {
    margin: 0;
}

dt {
    margin-top: 10px;
    font-weight: bold;
    color: #023047;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #90e0ef;
    margin-bottom: 12px;
    background-color: #ffffff;
    font-size: 14px;
    box-sizing: border-box;
}

input[type="submit"],
button,
a.button {
    background-color: #00b4d8;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    display: inline-block;
    transition: background-color 0.3s;
}

input[type="submit"]:hover,
button:hover,
a.button:hover {
    background-color: #0077b6;
}

/* Стили для кнопок в таблице */
.table-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0;
    margin: 0;
}

.table-buttons form,
.table-buttons a {
    margin: 0;
    padding: 0;
}

.table-buttons button,
.table-buttons a.button {
    background-color: #00b4d8;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.table-buttons button:hover,
.table-buttons a.button:hover {
    background-color: #0077b6;
}

table {
    border-collapse: collapse;
    width: 100%;
    background-color: #f0faff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #caf0f8;
    vertical-align: middle;
}

th {
    background-color: #00b4d8;
    color: white;
    text-transform: uppercase;
    font-size: 13px;
}

tr:hover {
    background-color: #e0f7ff;
}

a {
    color: #0077b6;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}
