/* Общие настройки для кроссплатформенности */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fcfcfc; /* Почти белый чистый фон клиники */
    color: #2b2b2b;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Красно-белая медицинская шапка */
.med-header {
    background: linear-gradient(135deg, #dc3545, #b21f2d); /* Насыщенный медицинский красный */
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.med-header h2 {
    font-size: 24px;
}

/* Белые карточки с красным акцентом */
.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
    border-left: 5px solid #dc3545; /* Красная медицинская линия */
}

.card h3 {
    margin-bottom: 15px;
    color: #b21f2d;
}

/* Адаптивные формы */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #495057;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #dc3545;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

/* Красные кнопки */
.btn-med {
    display: inline-block;
    width: 100%;
    background: #dc3545;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}

.btn-med:hover {
    background: #c82333;
}

.btn-logout {
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.2s;
}

.btn-logout:hover {
    background: rgba(255,255,255,0.3);
}

/* Адаптивная таблица */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    background: white;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.med-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.med-table th, .med-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.med-table th {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 600;
}

/* Статусы */
.status-badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
}
.status-pending { background: #ffeeba; color: #856404; }
.status-confirmed { background: #d4edda; color: #155724; }
.status-canceled { background: #f8d7da; color: #721c24; }

@media (min-width: 768px) {
    .btn-med {
        width: auto;
    }
}

/* Класс для видео, которое должно быть БОЛЬШИМ (на весь экран) */
.video-main {
    width: 100% !important;
    max-height: 400px !important;
    position: static !important;
    border: none !important;
    z-index: 1 !important;
}

/* Класс для видео, которое должно быть МАЛЕНЬКИМ (в углу) */
.video-preview {
    width: 25% !important;
    max-height: 120px !important;
    position: absolute !important;
    bottom: 10px !important;
    right: 10px !important;
    border: 2px solid #fff !important;
    z-index: 10 !important;
}

/* Контейнер для каждого видео, чтобы внутри него позиционировать текст */
.video-wrapper {
    position: relative;
    display: inline-block;
    background: #222;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Стили для плашки с именем/ролью */
.video-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6); /* Полупрозрачный черный фон */
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 15; /* Всегда поверх видео */
    pointer-events: none; /* Чтобы клик проходил сквозь текст на само видео */
}

/* Блок пагинации */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #dee2e6;
    color: #495057;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s;
}

.page-link:hover {
    background-color: #f8f9fa;
    border-color: #ced4da;
}

.page-link.active {
    background-color: #dc3545; /* Наш медицинский красный */
    color: white;
    border-color: #dc3545;
}

/* Стили для страниц авторизации и регистрации */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #fcfcfc;
}

.auth-card {
    background: white;
    width: 100%;
    max-width: 420px;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.08);
    border: 1px solid #eee;
    border-top: 6px solid #dc3545; /* Красная медицинская линия сверху */
}

.auth-logo {
    text-align: center;
    margin-bottom: 25px;
}

.auth-logo h1 {
    font-size: 26px;
    color: #b21f2d;
    margin-bottom: 5px;
}

.auth-logo p {
    color: #6c757d;
    font-size: 14px;
}

/* Радиокнопки выбора роли (Доктор / Пациент) */
.role-selection {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.role-option {
    flex: 1;
    position: relative;
}

.role-option input[type="radio"] {
    display: none; /* Прячем дефолтный кружок */
}

.role-label {
    display: block;
    text-align: center;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    color: #495057;
    transition: all 0.2s;
}

.role-option input[type="radio"]:checked + .role-label {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.auth-footer a {
    color: #dc3545;
    text-decoration: none;
    font-weight: bold;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Единый медицинский футер */
Без проблем! Чтобы футер не терялся, сделаем его по-настоящему стильным, броским и солидным.

Мы добавим контраста, увеличим размер шрифта, сделаем текст жирным, добавим небольшое свечение (текстовую тень) и добавим аккуратную левую медицинскую мини-линию, чтобы футер выглядел как законченный элемент брендинга.

Шаг 1: Обновляем стили в style.css
Найди в самом конце файла style.css класс .med-footer и замени его на этот яркий и контрастный вариант:

CSS
/* Броский и читабельный медицинский футер */
/* Броский, читабельный и идеально центрированный футер */
.med-footer {
    display: flex;          /* Включаем flexbox */
    justify-content: center; /* Центрируем текст по горизонтали */
    align-items: center;     /* Центрируем текст по вертикали */
    
    color: #b21f2d; 
    font-size: 15px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    margin-top: 50px;
    padding: 15px 20px;
    background-color: #ffffff; 
    border: 1px solid #dee2e6;
    border-left: 5px solid #dc3545; 
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.06); 
    
    /* Корректируем ширину для адаптивности во всех контейнерах */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box; 
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); 
}

/* Кнопки управления */
.btn-secondary {
    background: #6c757d;
}
.btn-secondary:hover {
    background: #5a6268;
}
.btn-success {
    background: #28a745;
}
.btn-success:hover {
    background: #218838;
}

/* Сетка для формы в админке */
.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .admin-form-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
