html {
  /* Основной курсор с фолбэком */
  cursor: url('../img/333.png'),
    auto;
}

body {
  /*background: url('../img/img111.jpg');*/
  background-color: #e9e9e9;
}

/*подвал*/
.footer-bs {
  width: 100%;
  text-align: center;
  color: #e0e9f2;
  letter-spacing: .04em;
  background-color: rgba(25, 42, 59, 0.92);
  margin: 90px 0;
  padding: 25px 15px;
  position: absolute;
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.footer-bs:hover {
  backdrop-filter: blur(12px);
  background-color: rgba(25, 42, 59, 0.96);
}

/*анимация обновления страницы*/
#page-preloader {
  position: fixed;
  inset: 0;
  background: rgba(209, 219, 225, 0.95);
  z-index: 1000;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  transition: opacity 0.5s ease;
}
.contpre {
  width: 120px;
  height: 120px;
  position: relative;
}
.contpre::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top-color: #4a6cf7;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.contpre::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 4px solid transparent;
  border-bottom-color: #4a6cf7;
  border-radius: 50%;
  animation: spinReverse 1.5s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes spinReverse {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

/*таблица расписание*/
.iksweb {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  border-collapse: separate;
  border-spacing: 0;
  empty-cells: inherit;
  border: 1px solid rgba(116, 133, 161, 0.3);
  border-radius: 8px;
  background: linear-gradient(45deg, #f8fafc 0%, #f1f5f9 100%);
  display: table;
  box-sizing: border-box;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.iksweb td {
  border: 1px solid rgba(13, 34, 66, 0.05);
  padding: 12px 15px;
}
:root {
  --border-width: 1px;
  --border-color: rgba(206, 212, 218, 0.3);
  --border: var(--border-width) solid var(--border-color);
}

/* Шапка таблицы */
.fix {
  position: sticky;
  top: 0;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(6px);
  z-index: 1;
  box-shadow: 0 1px 0 rgba(13, 34, 66, 0.1);
}
.iksweb th,
.iksweb td {
  box-shadow: 0 0 0 var(--border-width) var(--border-color);
  border-bottom: 1px solid rgba(13, 34, 66, 0.08);
}
.iksweb th {
  padding: 14px 16px;
  font-weight: 500;
  color: #1e293b;
  text-transform: uppercase;
  font-size: 0.82em;
  letter-spacing: 0.4px;
  font-family: 'Segoe UI Semibold', 'Roboto Medium', sans-serif;
}
.iksweb tr:nth-child(even) {
  background-color: rgba(241, 245, 249, 0.4);
}

/*кнопка сохранить, при добавление инфы*/
.styleS {
  background: linear-gradient(45deg, #4CAF50, #8BC34A);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.button-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/*заголовок расписание самый главный расп*/
.title {
  font-size: clamp(2rem, 5.5vw, 3rem);
  padding-top: 1.5rem;
  text-align: center;
  font-weight: 600;
  color: #0d1a26;
  margin-bottom: 2.5rem;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
  background: linear-gradient(90deg, #0d1a26, #1a365d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* для работы "+"*/
.noShow {
  display: none;
  background-color: #cbd0d7;
}

/* Базовый стиль для всех устройств */
/* Адаптация для мобильных устройств */
/*@media (max-width: 768px) {
  .noShow {
    display: none !important;
  background-color: #cbd0d7;
  }
}*/
/* Для очень маленьких экранов */
/*@media (max-width: 480px) {
  .noShow {
    display: none !important;
  background-color: #cbd0d7;
  }
}*/

#b1,
#b2,
#b3 {
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

/* Кнопка "Данные" */
#b1 {
  background: linear-gradient(135deg, #4a6cf7 0%, #8a2be2 100%);
  margin: 15px;
}
#b1:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(74, 108, 247, 0.25);
}

/* Кнопка "Выход" */
#b2 {
  background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
}
#b2:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(255, 65, 108, 0.25);
}

/* Кнопка "Войти в систему" */
#b3 {
  background: linear-gradient(135deg, #7b4397 0%, #dc2430 100%);
}
#b3:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(123, 67, 151, 0.25);
}

/*инпуты*/
#inp {
  border: none;
  resize: none;
  outline: none;
  padding: 6px 10px;
  font-family: inherit;
  color: #482f2d;
  background: rgba(247, 250, 252, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;

}
#inp:focus {
  border-color: #818cf8;
  background: rgba(255, 255, 255, 0.95);
}

/* стиль табличек*/
table {
  padding: 10px;
  font-family: 'Inter', sans-serif;
  text-align: left;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, rgba(235, 239, 245, 0.9) 0%, rgba(247, 248, 250, 0.9) 100%);
}

/* Стиль для "Расписание.Online" */
.title {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: #2c2c2c;
  background: linear-gradient(to right,
      rgba(213, 213, 213, 0.7),
      rgba(245, 245, 245, 0.9),
      rgba(213, 213, 213, 0.7));
  letter-spacing: 0.05em;
  text-shadow:
    0 1px 1px rgba(255, 255, 255, 0.8),
    0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 20px 0;
  margin: 0 0 24px 0;
  position: relative;
}
.title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 2px;
  background: linear-gradient(to right,
      transparent,
      rgba(44, 44, 44, 0.2),
      transparent);
}


/*это стиль для регистр. нового УО*/
.r2 {
  box-shadow: 0 8px 32px rgba(75, 76, 77, 0.12);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 25px;
  margin: 30px auto;
  width: min(90%, 500px);
  color: #2c2c2c;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}
.r2:hover {
  box-shadow: 0 12px 40px rgba(75, 76, 77, 0.15);
  transform: translateY(-2px);
}

  /* это стили для пунктов меню*/
.lock {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  letter-spacing: 0.05em;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  padding: 12px 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.lock:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/*это стиль для выпадающего списка */
.styled-select {
  width: 220px;
  height: 40px;
  border: none;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: #2c3e50;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 0 20px;
  appearance: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  /* Стеклянный эффект */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    5px 5px 10px rgba(0, 0, 0, 0.1),
    -5px -5px 10px rgba(255, 255, 255, 0.5),
    inset 1px 1px 2px rgba(255, 255, 255, 0.2);
  /* Кастомная стрелка */
  background-image:
    linear-gradient(45deg, transparent 50%, #2c3e50 50%),
    linear-gradient(135deg, #2c3e50 50%, transparent 50%);
  background-position:
    calc(100% - 15px) 50%,
    calc(100% - 10px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.styled-select:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow:
    8px 8px 15px rgba(0, 0, 0, 0.1),
    -8px -8px 15px rgba(255, 255, 255, 0.5),
    inset 1px 1px 3px rgba(255, 255, 255, 0.3);
}
.styled-select:focus {
  outline: none;
  background: rgba(255, 255, 255, 1);
  box-shadow:
    0 0 0 2px rgba(71, 118, 230, 0.3),
    5px 5px 10px rgba(0, 0, 0, 0.1),
    -5px -5px 10px rgba(255, 255, 255, 0.5);
}

/* Вертикальный разделитель с современным стилем */
td.vertical {
  position: relative;
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.1);
  margin: 0 10px;
}
td.vertical::after {
  content: '';
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(255, 255, 255, 0.8) 50%,
      transparent 100%);
}

  /* это стили для пунктов меню*/
.qw {
  width: 220px;
  font-size: 16px;
  color: #2c2c2c;
  background-color: transparent;
  border-radius: 12px;
  padding: 10px 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.qw:hover {
  border-color: rgba(58, 123, 213, 0.5);
}
.nav-centered {
  width: 100%;
  justify-content: center;
  gap: 15px;
}

 /* Кнопка "Сохранить" */
/* Общие стили для обеих кнопок */
#b4, #b5 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px; /* Уменьшенные отступы */
  margin: 0 4px; /* Отступ между кнопками */
  text-decoration: none;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 13px; /* Чуть уменьшенный шрифт */
  font-weight: 500;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 36px; /* Фиксированная высота */
  min-width: 80px; /* Минимальная ширина */
}

/* Специфичные стили для кнопки #b4 */
#b4 {
  background: linear-gradient(135deg, #4776E6 0%, #8E54E9 100%);
  box-shadow: 0 2px 8px rgba(71, 118, 230, 0.3);
}

/* Специфичные стили для кнопки #b5 */
#b5 {
  background: linear-gradient(135deg, #ED213A 0%, #93291E 100%);
  box-shadow: 0 2px 8px rgba(237, 33, 58, 0.3);
}

/* Общие hover-эффекты */
#b4:hover, #b5:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Специфичные hover-эффекты */
#b4:hover {
  box-shadow: 0 4px 12px rgba(71, 118, 230, 0.4);
}
#b5:hover {
  box-shadow: 0 4px 12px rgba(237, 33, 58, 0.4);
}

/* Активные состояния */
#b4:active, #b5:active {
  transform: translateY(1px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Градиентные подложки */
#b4::before, #b5::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  border-radius: 50px;
}

#b4::before {
  background: linear-gradient(135deg, #8E54E9 0%, #4776E6 100%);
}
#b5::before {
  background: linear-gradient(135deg, #93291E 0%, #ED213A 100%);
}

#b4:hover::before, #b5:hover::before {
  opacity: 1;
}

/* Фокус-эффекты */
#b4:focus, #b5:focus {
  outline: none;
}

/* Анимации пульсации */
@keyframes pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(71, 118, 230, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(71, 118, 230, 0); }
  100% { box-shadow: 0 0 0 0 rgba(71, 118, 230, 0); }
}
@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(237, 33, 58, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(237, 33, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(237, 33, 58, 0); }
}

#b4:focus {
  animation: pulse-blue 1.5s infinite;
}
#b5:focus {
  animation: pulse-red 1.5s infinite;
}
/* Иконки (опционально) */
#b4::after {
  content: '→';
  display: inline-block;
  transition: transform 0.3s ease;
}
#b4:hover::after {
  transform: translateX(3px);
}

#b5::after {
  content: '×';
  display: inline-block;
  transition: transform 0.3s ease;
}
#b5:hover::after {
  transform: rotate(90deg);
}

/* кнопки + итд*/
.upload {
  background: linear-gradient(45deg, #6366F1, #8B5CF6);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  padding: 12px 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(99, 102, 241, 0.2);
}
.upload:hover {
  background: linear-gradient(45deg, #8B5CF6, #6366F1);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
  background: linear-gradient(45deg, #64748B, #475569);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  padding: 10px 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(71, 85, 105, 0.1);
}
.btn-secondary:hover {
  background: linear-gradient(45deg, #475569, #64748B);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(71, 85, 105, 0.2);
}

#upload:hover {
  background: linear-gradient(45deg, #8B5CF6, #6366F1);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(99, 102, 241, 0.3);
}

.btn-success {
  background: linear-gradient(45deg, #10B981, #34D399);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  padding: 10px 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
}
.btn-success:hover {
  background: linear-gradient(45deg, #34D399, #10B981);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(16, 185, 129, 0.3);
}

.btn-danger {
  background: linear-gradient(45deg, #EF4444, #F87171);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  padding: 10px 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(239, 68, 68, 0.2);
}
.btn-danger:hover {
  background: linear-gradient(45deg, #F87171, #EF4444);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(239, 68, 68, 0.3);
}

  /* Адаптация таблицы */
@media(max-width: 768px) {
  .table-striped thead {
    display: none;
  }
  .table-striped tr {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
  .table-striped td {
    padding: 12px;
    width: auto;
    position: relative;
    background: none;
    border: none;
    margin: 0;
  }
  .table-striped td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: #64748b;
    font-size: 0.75rem;
    margin-bottom: 4px;
  }
  .table-striped td span {
    display: inline;
  }
}
@media(max-width: 480px) {
  .table-striped td {
    width: 100%;
  }
}

/*карточка профиля*/
.input__wrapper {
  width: 100%;
  position: relative;
  margin: 15px 0;
}

.image-new {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}

.image-new-icon-wrapper {
  height: 40px;
  border-radius: 20px;
  /*закруглилась полоска*/
  width: 50px;
  /*расположение полоски*/
  margin-right: 18px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-right: 1px solid rgb(75, 14, 14);
  /*цвет полоски между фоткой и текстом*/
}

.image-new-icon-wrapper1 {
  height: 30px;
  border-radius: 20px;
  /*закруглилась полоска*/
  width: 30px;
  /*расположение полоски*/
  margin-right: 18px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-right: 1px solid rgb(75, 14, 14);
  /*цвет полоски между фоткой и текстом*/
}

.image-new-button-text {
  line-height: 3;
  /*расположение текста*/
  margin-top: 1px;
}

.image-new-button1-text {
  line-height: 3;
  /*расположение текста*/
}

.image-new-button {
  max-width: 190px;
  height: 43px;
  background: linear-gradient(45deg, #475569, #64748B);
  color: #ffffff;
  border-radius: 26px;
  transition: all 0.6s ease;
  font-size: 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  cursor: pointer;

}

.image-new-button1 {
  max-width: 190px;
  height: 43px;
  background: linear-gradient(45deg, #c0c5cf 0%, #989ebd 70%);
  color: #000000;
  border-radius: 26px;
  transition: all 0.6s ease;
  font-size: 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  cursor: pointer;
}

.image-new-button:hover {
  background: linear-gradient(45deg, #989ebd 0%, #c0c5cf 90%);
  color: #000000;
  border-color: #c0c5cf;
}

.card-img-top {
  border-radius: 24px;
  width: auto;
}

#offcanvasRight {
  width: auto;
  min-height: 150px;
}

/*стрелка вверх*/
.upbtn {
  z-index: 9999;
  width: 56px;
  height: 56px;
  position: fixed;
  bottom: 24px;
  right: 24px;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #6366F1;
  background-image: url('../img/1.png');
  background-position: center;
  background-size: 24px;
  background-repeat: no-repeat;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.upbtn:hover {
  transform: scale(1.1) !important;
  background-color: #8B5CF6;
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}


.card {
  border-radius: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
  margin: 30px;
  width: auto;
  min-height: 150px;
  padding: 0 0 1px 0;
  position: relative;
  background: #f3f3f3;
  background: -moz-linear-gradient(0 0 270deg, #f3f3f3, #f3f3f3 10%, #fff);
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
  -webkit-border-bottom-right-radius: 60px 60px;
  -moz-border-radius-bottomright: 60px 60px;
  border-bottom-right-radius: 60px 60px;
  -webkit-box-shadow: -1px 2px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: -1px 2px 2px rgba(0, 0, 0, 0.2);
  box-shadow: -1px 2px 2px rgba(0, 0, 0, 0.2);
}
.card:before {
  content: '';
  width: 25px;
  height: 20px;
  position: absolute;
  bottom: 0;
  right: 0;
  -webkit-border-bottom-right-radius: 30px;
  -moz-border-radius-bottomright: 30px;
  border-bottom-right-radius: 30px;
  -webkit-box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.3);
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.3);
  -webkit-transform: rotate(-20deg) skew(-40deg, -3deg) translate(-13px, -13px);
  -moz-transform: rotate(-20deg) skew(-40deg, -3deg) translate(-13px, -13px);
  -o-transform: rotate(-20deg) skew(-40deg, -3deg) translate(-13px, -13px);
  transform:
    rotate(-20deg) skew(-40deg, -3deg) translate(-13px, -13px);
}
/* Здесь определяется затенение загиба */
.card:after {
  content: '';
  z-index: -1;
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.2);
  display: inline-block;
}

@media(max-width: 768px) {
  /*адаптация таблицы*/
  .table-striped thead {
    display: none;
  }
  .table-striped tr {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }
  .table-striped td {
    margin: 0 -1px -1px 0;
    padding-top: 35px;
    position: relative;
    width: 50%;
  }
  .table-striped td span {
    display: block;
  }
}

@media(max-width: 480px) {
  .table-striped td {
    width: 100%;
  }
}

/*иконки подвала*/
.social-icons-1 {
  list-style: none;
  margin: 40px 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 16px;
}
.social-icons-1 li {
  display: inline-block;
  position: relative;
  font-size: 24px;
  margin: 0;
}
.social-icons-1 a {
  display: inline-block;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.social-icons-1 a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(45deg, #6366F1, #8B5CF6);
  box-shadow: 0 4px 8px rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
  transform: scale(1);
}
.social-icons-1 i,
.social-icons-1 img {
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}
.social-icons-1 a:hover:before {
  transform: scale(1.1);
  background: linear-gradient(45deg, #8B5CF6, #6366F1);
}
.social-icons-1 a:hover i,
.social-icons-1 a:hover img {
  transform: translate(-50%, -50%) scale(1.2);
}

/*снова подвал*/
.footer {
  text-align: center;
  position: relative;
  min-height: 100px;
  color: #fff;
  width: 100%;
  margin-top: 60px;
  background: transparent;
}
.footer div {
  padding: 20px;
  background: rgba(16, 185, 129, 0.9);
  backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}
.content {
  min-height: 100%;
  position: relative
}

/*глазик на пароле*/
.password {
  position: relative;
}
.password-control {
  position: absolute;
  margin-top: 42px;
  right: 6px;
  display: inline-block;
  width: 25px;
  height: 25px;
  background: url('../img/eye.png') 0 0 no-repeat;
}
.password-control.view {
  background: url('../img/neye.png') 0 0 no-repeat;
}
.anim {
  text-align: center;
  text-decoration: underline;
  color: #15568f;
  font-size: 1em;
}

#spisok_paralel {
  display: none;
}

.iksweb th {
  margin: 0;
  padding: 0;

}

.iksweb .name_prep_th {
  position: relative;

  padding: 5px;

}

.iksweb td {
  font-size: 14px;
}

#spisok_potok {
  display: none;
}

#SelectGroupPotok {
  width: 100%;
}

.circle {
  border-radius: 100px;
  font-size: 14px;
  text-align: center;
}

/* для поиска */
.results tr[visible='false'],
.no-result {
  display: none;
}

.results tr[visible='true'] {
  display: table-row;
}

.searchCount {
  padding: 8px;
  color: #ccc;
}

.btn-link.prim.qw {
  border: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.btn-link.prim.qw:focus,
.btn-link.prim.qw:hover {
  border: none;
  background: transparent;
  box-shadow: none;
}

.btn-link.prim.qw img {
  border: none;
  outline: none;
}

#exampleModal {
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

#exampleModal .modal-dialog {
  max-width: 500px;
  margin: 1.75rem auto;
  perspective: 1000px;
}

#exampleModal .modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(50px) scale(0.95);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

#exampleModal.show .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Заголовок модального окна */
#exampleModal .modal-header {
  border-bottom: none;
  padding: 1.5rem 1.5rem 0.5rem;
  position: relative;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
}

#exampleModal .modal-title {
  font-weight: 600;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

#exampleModal .modal-header img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

#exampleModal .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all 0.2s ease;
  background-size: 60%;
}

#exampleModal .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* Тело модального окна */
#exampleModal .modal-body {
  padding: 1.5rem;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
}

#exampleModal .modal-body p {
  margin-bottom: 0;
  position: relative;
  padding-left: 30px;
  padding-right: 30px;
}

#exampleModal .modal-body p::before {
  content: "⚠️";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
}

/* Футер модального окна */
#exampleModal .modal-footer {
  border-top: none;
  padding: 0 1.5rem 1.5rem;
  justify-content: center;
}

#exampleModal .btn-success {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  border: none;
  border-radius: 12px;
  padding: 0.75rem 2rem;
  font-weight: 500;
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#exampleModal .btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

#exampleModal .btn-success:active {
  transform: translateY(0);
}

#exampleModal .btn-success::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  pointer-events: none;
  transition: all 0.5s ease;
}

#exampleModal .btn-success:hover::after {
  left: 100%;
}

/* Анимация фона */
.large-header {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#demo-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Адаптация для мобильных */
@media (max-width: 576px) {
  #exampleModal .modal-dialog {
    margin: 0.5rem auto;
    max-width: 95%;
  }
  
  #exampleModal .modal-title {
    font-size: 1.3rem;
  }
  
  #exampleModal .modal-body {
    padding: 1rem;
    font-size: 1rem;
  }
  
  #exampleModal .modal-body p {
    padding-left: 25px;
  }
  
  #exampleModal .btn-success {
    padding: 0.6rem 1.5rem;
  }
}
/* Стилизация стандартного крестика */
.btn-close.button_table_delete {
    position: relative;

    opacity: 1;
    background: none;
    transition: all 0.3s ease;
}

.btn-close.button_table_delete::before,
.btn-close.button_table_delete::after {
    content: '';
    position: absolute;

    width: 20px;
    height: 1px;
    background-color: #6c757d;
    border-radius: 1px;
    transform-origin: center;
}

.btn-close.button_table_delete::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.btn-close.button_table_delete::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Эффекты при наведении */
.btn-close.button_table_delete:hover {
    transform: rotate(90deg);
    opacity: 1;
}

.btn-close.button_table_delete:hover::before,
.btn-close.button_table_delete:hover::after {
    background-color: #dc3545;
    height: 3px;
}

/* Эффект при нажатии */
.btn-close.button_table_delete:active {
    transform: rotate(90deg) scale(0.9);
}


/* Заголовки */
#ras thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #f1f1f1;
    white-space: nowrap;
}

/* Первый столбец */
#ras th:first-child,
#ras td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
    min-width: 220px;
    max-width: 280px;
    text-align: left;
}

/* Угловая ячейка (ФИО преподавателя в заголовке) */
#ras thead th:first-child {
    top: 0;
    left: 0;
    z-index: 4; /* выше всех, чтобы не перекрывалась */
    background: #e6e6e6; /* можно выделить другим цветом */
}

:root {
    --primary: #4f46e5;   /* современный фиолетовый */
    --primary-dark: #3730a3;
    --bg: #f9fafb;
    --text: #111827;
}

body {
    background: var(--bg);
    font-family: "Inter", "Segoe UI", sans-serif;
    color: var(--text);
}

.timeline-container {
    display: flex;
    overflow-x: auto;
    padding: 20px;
    gap: 16px;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

.timeline-item {
    flex: 0 0 auto;
    padding: 14px 20px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
    color: var(--text);
}

.timeline-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.timeline-item.current {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 600;
    border: none;
    position: relative;
    box-shadow: 0 6px 14px rgba(79,70,229,0.4);
    animation: pulseGlow 2s infinite;
}

/* Пульсирующее свечение */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(79,70,229,0.6), 0 6px 14px rgba(79,70,229,0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(79,70,229,0), 0 6px 14px rgba(79,70,229,0.4);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(79,70,229,0), 0 6px 14px rgba(79,70,229,0.4);
    }
}

