.main-return {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 80px; 
  line-height: 1.6;
  color: #333;
}

/* Стилизуем "Заголовок" (первый абзац) */
.main-return p:first-of-type {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Обычные текстовые абзацы */
main p {
    margin-bottom: 15px;
    font-size: 20px;
}

/* Абзац перед списком (предупреждение) */
.main-return p:nth-of-type(4) {
    margin-top: 40px;
    font-weight: 600;
    color: #d9534f; /* Мягкий красный цвет для привлечения внимания */
}

/* Стилизация списка исключений */
.non-refundable-list {
    list-style: none; /* Убираем стандартные точки */
    padding: 20px;
    background-color: #f9f9f9; /* Светлый фон, чтобы выделить блок */
    border-radius: 8px;
    border-left: 4px solid #d9534f; /* Акцентная линия слева */
}

.non-refundable-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 15px;
}

/* Кастомные маркеры (тире или точки) */
.non-refundable-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #d9534f;
    font-weight: bold;
}

.non-refundable-list li:last-child {
    margin-bottom: 0;
}

.adress-stores {
    text-decoration: none;
    color: rgb(18, 18, 212);
}

/* Страница размеров */
.main-sizes, .main-jobs {
    font-family: sans-serif;
    max-width: 800px;
    margin: 20px auto;
    text-align: center
}

.title-sizes {
  font-size: 20px;
  font-weight: bold
}

/* 2. Скрываем radio-кружочки */
.tabs-nav input[type="radio"] {
    display: none;
}

/* Стилизация этикеток (кнопок) */
.tabs-nav label {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    color: #888;
}

/* Стиль для активной вкладки */
.tabs-nav input[type="radio"]:checked + label {
    color: #000;
    border-bottom: 2px solid #000; /* Подчеркивание при выборе */
    font-weight: bold;
}

/* 1. Стили таблиц и внутренних границ */
.main-sizes .tabs-content {
    margin-top: 20px;
    border: 1px solid #f1f1f1; /* Внешняя рамка для всего контента */
    border-radius: 12px;    /* Закругленные углы */
    overflow: hidden;       /* Чтобы углы таблицы не вылезали за радиус */
    position: relative;
    padding: 5px;
    background-color: #f1f1f1;
}

.size-table {
    width: 100%;
    border-collapse: collapse; /* Важно для управления границами */
    display: none;            /* По умолчанию скрываем все */
    animation: fadeIn 0.5s ease; /* Плавное появление */
}

/* Внутренние границы (между ячейками), но не снаружи таблицы */
.size-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #7c7c7c; 
}

/* Убираем внешние границы у ячеек, которые прилегают к краям */
.size-table tr td:first-child { border-left: none; }
.size-table tr td:last-child { border-right: none; }
.size-table tr:first-child td { border-top: none; }
.size-table tr:last-child td { border-bottom: none; }

/* Анимация появления */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность для мобилок */
@media (max-width: 600px) {
    .size-table { font-size: 12px; }
    .tabs-nav label { padding: 10px 10px; }
}

/* Страница вакансий*/
.radio-group-jobs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 25px;
}

.main-jobs a {
    text-decoration: none;
    font-weight: 600;
    color: red;
}

.main-jobs .tabs-content {
    margin-top: 20px;
}

.jobs-table {
    width: 100%;
    border-collapse: collapse; /* Убирает двойные границы */
    margin-bottom: 20px;
    background-color: #ffffff;
}

/* Границы для всех ячеек */
.jobs-table th, 
.jobs-table td {
    border: 1px solid #000000; /* Четкая черная граница */
    padding: 10px 12px;
    text-align: center;
    font-size: 14px;
}

/* Стили заголовков (шапки) */
.jobs-table thead th {
    background-color: #f2f2f2; /* Светло-серый фон шапки */
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
}

.btn-open-modal {
    display: inline-block;
    padding: 5px 10px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    border-radius: 2px;
    transition: background 0.3s;
}

.btn-open-modal:hover {
    background-color: #333;
}

.jobs-table th:last-child, 
.jobs-table td:last-child {
    text-align: center;
    width: 120px;
}

/* Модальное окно */
.modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный черный */
}

/* Контентное окно */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #000;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Кнопка закрытия */
.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

/* Стили формы */
#job-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

#job-form label {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: bold;
}

#job-form input {
    margin-top: 5px;
    padding: 8px;
    border: 1px solid #ccc;
    font-family: inherit;
}

/* Поля только для чтения */
#job-form input[readonly] {
    background-color: #f9f9f9;
    border-color: #eee;
    color: #666;
    outline: none;
}

.btn-submit {
    background-color: #000;
    color: #fff;
    padding: 12px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-submit:hover {
    background-color: #333;
}

/* Стили для статуса пользователя */
.status-badge {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    min-width: 100px;
}

.bg-success {
    background-color: #2ecc71 !important;
    color: white !important;
}

.bg-danger {
    background-color: #e74c3c !important;
    color: white !important;
}

/* На всякий случай для таблицы */
.jobs-table td {
    vertical-align: middle;
}