/* Общие настройки */
html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

h1 {
	margin-top: 10px;
    color: #333;
}
h2 {
    color: #333;
}

button, input {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

button:hover{
    background-color: #d1d1d1;
}

/* Сетка кнопок */

/* Кнопка настроек в левом верхнем углу */
.settings-button {
    position: fixed;
    left: 15px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: #6c757d;
    color: white;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.2s, transform 0.2s;
}

/* Первая кнопка — сверху */
.settings-button.main-button {
    top: 15px;
    left: 15px;
}

.settings-button.settings-icon {
    top: 15px;
    left: 65px; /* 15px + 40px + 10px отступ */
}

.settings-button:hover {
    background-color: #5a6268;
    transform: scale(1.1);
}


.form button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background-color: #007bff;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.form button:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.form button:last-child {
    background-color: #6c757d;
}

.form button:last-child:hover {
    background-color: #5a6268;
}
/* === Футер === */
.page-footer {
    margin-top: 40px;
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    padding: 20px;
}

.patient-list h2 {
    text-align: center;
    margin-bottom: 16px;
    color: #333;
}

.patient-list-items {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.patient-form {
    width: 100%;
    margin: 0;
    padding: 0;
}

.patient-list-item {
    width: 100%;
    padding: 16px 20px;
    border: none;
    background: none;
    text-align: left;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.15s;
    border-bottom: 1px solid #e0e0e0;
    /* Убедитесь, что внутренние элементы не переносятся */
    white-space: nowrap;
}

