body {
  font-family: 'Roboto','Arial',sans-serif;
  font-weight: normal;
  font-style: normal;
  margin: 0;
  padding: 0;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

h2 {
    color: #778397;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    position: relative;
	margin-bottom: 20px;
}

@media (max-width: 768px) {
  h2 {
    font-size: 22px;
  }
}

h3 {
    color: #778397;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

@media (max-width: 768px) {
  h3 {
    font-size: 20px;
  }
}
.heightimg-contact {
  position: relative; /* Добавляем для позиционирования псевдоэлементов */
  z-index: 1; /* Создаем контекст наложения */
}

.heightimg-contact::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0.1;
  z-index: 0; /* Устанавливаем ниже контента */
  pointer-events: none; /* Отключаем взаимодействие */
}

.heightimg-contact::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  opacity: 0.1;
  z-index: 0; /* Устанавливаем ниже контента */
  pointer-events: none; /* Отключаем взаимодействие */
}

/* Дополнительное исправление для мобильных устройств */
@media (max-width: 768px) {
  .heightimg-contact::before {
    width: 250px;
    height: 250px;
    top: -80px;
    right: -80px;
  }
  
  .heightimg-contact::after {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -60px;
  }
  
  /* Увеличиваем кликабельную область кнопки */
  .btn-container {
    margin-top: 20px;
  }
  
  .btn-container .btn {
    min-height: 44px; /* Рекомендуемый минимальный размер для мобильных */
    padding: 12px 24px;
  }
}
.switcher {
    position: relative;
    padding: 0 10px;
    margin-top: -18px;
    display: flex;
    align-items: center;
}

.switcher .selected {
    display: flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    color: #5e5e5e;
    background: rgba(236, 236, 236, 0.3);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.switcher .selected:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.switcher .selected img {
    margin-right: 8px;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

/* Убираем старую стрелку */
.switcher .selected a {
    background: none !important;
    padding: 0 !important;
    width: auto;
    color: #5e5e5e;
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Новая стрелка с Font Awesome - уменьшенная и выровненная по центру */
.switcher .selected::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 10px; /* Уменьшенный размер */
    color: #5e5e5e;
    transition: transform 0.3s ease;
    align-self: center; /* Выравнивание по центру относительно текста */
    line-height: 1; /* Убираем лишний межстрочный интервал */
}

.switcher:hover .selected::after {
    transform: rotate(180deg);
	    background: #edf2f7;
    border-color: #cbd5e0;
}

/* Выпадающее меню */
.switcher .option {
position: absolute;
  top: 100%;
  left: 0;
  margin-top: 5px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 83px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
    transition-delay: 0s;
  padding: 4px 12px;
  margin-left: 10px;
}

.switcher:hover .option {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Добавляем задержку при закрытии меню */
.switcher .option {
    transition-delay: 0.1s;
}

.switcher:hover .option {
    transition-delay: 0s;
}

.switcher .option:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
	    background: #edf2f7; /* Эффект наведения как у выбранного языка */
    color: #5e5e5e;
	border: 1px solid #cbd5e0;

}

/* Элементы выпадающего меню в стиле выбранного языка */
.switcher .option a {
    display: flex;
    align-items: center;
    font-size: 12px; /* Уменьшенный размер текста */
    color: #5e5e5e;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 8px; /* Скругление как у выбранного языка */
    margin-bottom: 5px; /* Отступ между элементами */
}

.switcher .option a:last-child {
    margin-bottom: 0; /* Убираем отступ у последнего элемента */
}

.switcher .option a:hover {
    background: #edf2f7; /* Эффект наведения как у выбранного языка */
    color: #5e5e5e;
    border-color: #cbd5e0;
}

.switcher .option img {
    margin-right: 8px;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

/* Мобильная адаптация */
@media screen and (max-width: 767px) {
    .switchernone {
        display: none;
    }
	
	.switcher {
  padding: 0;
}

.switcher .option {
  min-width: 84px;
  margin-left: 0;
}
    
}
.user-menu-item22 {
margin-left: 25px;
}
@media (max-width: 768px) {
.user-menu-item22 {
  margin-right: 4px;
}
 }
.user-menu-item22 a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}
.user-menu-item22 a:hover {
color: white;
}
.user-menu-item22 a i {
    margin-right: 6px;
}
.user-menu-item22-mobile {
    display: none;
}
.user-avatar {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.avatar-circle:hover {
    transform: scale(1.05);
}
.avatar-initials {
    color: white;
    font-weight: bold;
    font-size: 16px;
}
.user-name {
font-weight: 400;
color: #778397;
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 120px;
}
.btn-primary {
    display: inline-block;
    background: #0071e3;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
    background: #ffffff;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #666;
}
.menu-item:hover {
    background-color: #f6f7f8;
    color: #0071e3;
}
.menu-item i {
    font-size: 20px;
    width: 24px;
    margin-right: 12px;
    color: #666;
}
.menu-item:hover i {
    color: #0071e3;
}
.menu-item-text {
    font-weight: 500;
    font-size: 14px;
    text-align: left;
}
.menu-item-content {
    flex: 1;
    display: flex;
    align-items: center;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  z-index: 9999;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active .modal-overlay {
  opacity: 1;
}

.modal-content-popua {
  position: relative;
  background: white;
  padding: 25px 20px;
  border-radius: 8px;
  max-width: 420px;
  width: 100%;
  margin: 50px auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  z-index: 1;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.active .modal-content-popua {
  transform: translateY(0);
  opacity: 1;
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #6b7280;
  z-index: 10;
  font-size: 22px;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
}
@media screen and (max-width: 767px) {
.modal-close {
top: 22px;
right: 18px;
    }
}
.modal-header {
	margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}
.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #778397;
}
.modal-body {
    padding: 1rem;
}
.user-welcome {
    text-align: center;
}
.welcome-text {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #64748b;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.btn-outline {
    background: transparent;
    color: #0071e3;
    border: 1px solid #0071e3;
}
.btn-outline:hover {
    background: #eff6ff;
}
.btn-full {
    width: 100%;
}
.error-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #fecaca;
}
.form-footer {
    margin-top: 1.5rem;
    text-align: center;
}
.form-footer p {
    color: #6b7280;
}
.form-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.form-links .link {
    font-size: 0.875rem;
    color: #0071e3;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.form-links .link:hover {
    color: #2563eb;
    text-decoration: underline;
}
.form-links span {
    color: #d1d5db;
}
@media (max-width: 768px) {

  .modal-content-popua {
    width: 100%;
    height: 100%;
	max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    overflow-y: auto;
    transform: none; /* Убираем анимацию сдвига для мобильных */
  }
    
.modal-body {
padding: 0.8rem;
}
    
.modal-title {
font-size: 1.4rem;
padding: 4px 0;
}
.form-group input {
padding: 0.625rem 0.875rem;
font-size: 0.95rem;
}
    
.btn {
padding: 0.625rem 1.25rem;
font-size: 0.95rem;
}
    
.form-links span {
display: none;
}
   
.sidebar-menu {
gap: 6px;
padding: 6px;
margin-bottom: 20px;
}
    
.menu-item i {
font-size: 18px;
width: 22px;
margin-right: 10px;
    }
}

/* Стили для современного блока загрузки */
.upload-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    position: relative;
}
@media (max-width: 768px) {
.upload-container {
    margin-bottom: 20px;
  }
}
/* Новый класс для ограничения ширины контейнеров */
.container-limited {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.upload-area {
    border: 2px dashed #e0e6ed;
    border-radius: 10px;
    padding: 50px 20px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.upload-area:hover {
    border-color: #0071e3;
    background: #f0f4ff;
}
.upload-area.dragover {
    background: rgba(67, 97, 238, 0.1);
    border-color: #0071e3;
}
@media (max-width: 768px) {
.upload-area {
    padding: 20px 20px;
  }
}
.text-center {
  text-align: center;
}
.upload-icon {
    font-size: 3rem;
    color: #0071e3;
    margin-bottom: 20px;
}
.upload-area h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
	padding-bottom: 0;
    color: #666;
    font-weight: 600;
}
.upload-area p {
    color: #4a5568;
    margin-bottom: 20px;
}
.upload-formats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.input-file {
  display: none;
}
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}
.form-group input:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.container-index-left {
padding: 20px;
width: 60%;
margin: 0 auto;
color: #6f6f6f;
/*margin-top: 22px;*/
}
.format-tag {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.7rem;
    color: #4a5568;
    font-weight: 500;
}
.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
}
.file-preview-item {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.file-preview-item .file-icon {
    font-size: 3rem;
    color: #0071e3;
}
.file-preview-item .file-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px;
    font-size: 0.7rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.file-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    z-index: 10;
    transition: all 0.2s ease;
}
.file-remove:hover {
    background: #f5365c;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.file-not-found {
    opacity: 0.6;
    position: relative;
}

.file-not-found::after {
    content: "Файл не знайдено";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    white-space: nowrap;
}
.description-container {
    margin-top: 25px;
    display: none;
}
.description-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #778397;
    font-size: 0.95rem;
}
.description-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
}
.description-input:focus {
    border-color: #0071e3;
    background: white;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
    outline: none;
}
.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: #718096;
    margin-top: 5px;
}
.photo-size-selector {
    margin: 20px 0;
    padding: 20px 0;
    display: none;
}
.photo-size-selector label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #778397;
    font-size: 1rem;
}
.photo-size-selector select {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border-radius: 8px;
	color: #778397;
    border: 1px solid #e2e8f0;
    font-size: 1rem;
    background: white;
    font-family: inherit;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    height: 40px;
    line-height: 20px;
    vertical-align: middle;
}
.photo-size-selector select:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
    outline: none;
}
.submit-button {
    background: #fac008;
    color: #424141;
    border: none;
    padding: 12px 28px;
    border-radius: 900px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 30px;
}
.submit-button:hover {
    background: #ffc91e;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.info-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin-top: 25px;
    border-left: 2px solid #0071e3;
    position: absolute;
    top: 0px;
    right: 20px;
    width: 460px;
    z-index: 100;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    text-align: left;
    line-height: 20px;
}
.info-box.show {
    opacity: 1;
    visibility: visible;
}
.info-box h3 {
    margin: 0;
    padding: 0 0 8px 0;
    font-size: 0.85rem;
    color: #778397;
    font-weight: 600;
}
.info-box ul {
    padding-left: 12px;
    margin-top: 8px;
    margin-bottom: 0;
}
.info-box li {
    margin-bottom: 8px;
    color: #4a5568;
    font-size: 0.72rem;
}
.info-box li strong {
    font-weight: 600;
}
.add-more-files {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    padding: 8px 12px;
    border-radius: 900px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.add-more-files:hover {
    background: #edf2f7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.add-more-files i {
    font-size: 1rem;
}
.hero-section {
    padding: 20px 20px;
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.hero-content h1 {
    font-size: 2rem;
    color: #778397;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}
@media (max-width: 768px) {
.hero-content h1 {
        font-size: 1.6rem;
    }

 }
.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: 600;
}
.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 20px;
}
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    width: 300px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.feature-icon {
    font-size: 2rem;
    color: #fac008;
    margin-bottom: 15px;
    display: inline-block;
    background: rgba(238, 238, 238, 0.4);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
}
.feature-card h3 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: 700;
}
.feature-card p {
    color: #4a5568;
    font-size: 0.8rem;
    line-height: 1.5;
}
.hero-tagline {
  background: rgba(236, 236, 236, 0.3);
  border-radius: 50px;
  padding: 15px 30px;
  display: inline-block;
  margin: 20px 0;
}
.hero-tagline p {
    color: #666;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}
.hero-tagline b {
    color: #0071e3;
    font-weight: 800;
}
@media (max-width: 768px) {
        
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card {
        width: 100%;
        max-width: 350px;
    }
    
    .hero-tagline {
    padding: 10px 15px;
    margin: 10px 0;
  }
.hero-tagline p {
  color: #666;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
  }
  
  .format-tag {
  font-size: 0.6rem;
  }
  
  .upload-formats {
  gap: 6px;
  }
}
.toggle-buttons-container {
    display: none;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}
@media screen and (max-width: 767px) {
.toggle-buttons-container {
gap: 8px;
}
 }
.toggle-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    padding: 8px 12px;
    border-radius: 900px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.toggle-button:hover {
    background: #edf2f7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.toggle-button.active {
    background: #0071e3;
    color: white;
    border-color: #0071e3;
}
.toggle-button i {
    font-size: 1rem;
}
@media (max-width: 768px) {
  .toggle-button {
    font-size: 12px;
  }
  .add-more-files {
    font-size: 12px;
  }
}
.info-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.2rem;
    color: #4a5568;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    z-index: 101;
}
.info-icon:hover {
    background: #e2e8f0;
    color: #0071e3;
}
@media (max-width: 768px) {
    .info-box {
        width: 300px;
        right: 10px;
        top: 0px;
    }
    
    .info-icon {
        top: 15px;
        right: 15px;
    }
}
header {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 80px;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}
.headerleft {
    display: flex;
    align-items: center;
}
logo {
    display: block;
    margin: 0 10px 0 10px;
}
logo img {
    height: auto;
    width: auto;
}
.logo {line-height: 22px;}
.main-nav {
    flex: 1;
}
.mobile-menu-toggle {
    display: none;
    background: transparent;
	width: 40px;
  height: 40px;
    border: none;
    cursor: pointer;
	border-radius: 50%;
    font-size: 22px;
    color: #778397;
    z-index: 1001;
}
.mobile-menu-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}
.mobile-menu-toggle:active {
  transform: scale(0.95);
}

/* Отключаем hover-эффекты на сенсорных устройствах */
@media (hover: none) and (pointer: coarse) {
  .mobile-menu-toggle:hover {
    background: transparent !important;
  }
  
  .user-menu-item22-mobile a:hover {
    background: transparent !important;
  }
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-end;
}
.nav-list li {
    margin-right: 18px;
}
.nav-list li:last-child {
    margin-right: 0;
}
.nav-list a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}
.nav-list a:hover {
    color: #0071e3;
}

.user-menu-item a {
    display: flex;
    align-items: center;
    background: #0071e3;
    color: white;
    padding: 10px 24px;
    border-radius: 900px;
    font-weight: 500;
    transition: all 0.3s;
}
.user-menu-item a:hover {
    background: #007BF4;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.user-menu-item a i {
    margin-right: 6px;
}

.user-menu-item2 a {
  display: flex;
  align-items: center;
  background: #f0f0f0;
  color: #0071e3;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.3s;
}
.user-menu-item2 a:hover {
    background: #007BF4;
    color: white;
}
.user-menu-item2 a i {
    margin-right: 6px;
}

@media (max-width: 768px) {
	.mobile-menu-toggle {
        display: block;
    }
    .header-content {
        padding: 0 20px;
    }
	
	.main-nav {
        position: fixed;
        top: 82px;
        left: 0;
        width: 100%;
		height: calc(100vh - 82px);
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }
    
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
	
	.mobile-menu-toggle i {
    transition: transform 0.3s ease;
}
	
	.nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
		background: #fff;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list li:last-child {
        margin-bottom: 0;
    }
    
    .nav-list a {
        display: block;
        padding: 20px 0;
        width: 100%;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .nav-list a:after {
        display: none;
    }
    
    .user-menu-item a {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
    }
	
	    .nav-list li.user-menu-item22,
    .nav-list li.user-menu-item {
        text-align: center;
    }
    
    .nav-list li.user-menu-item22 a,
    .nav-list li.user-menu-item a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        border: none;
        padding: 10px 20px;
        margin: 40px auto 0;
    }
    
    .nav-list li.user-menu-item22 a i,
    .nav-list li.user-menu-item a i {
        margin-right: 8px;
    }
    
    .user-avatar .user-name {
        display: none;
    }
    
    .avatar-circle {
        width: 32px;
        height: 32px;
        margin-right: 0;
    }
    
    .user-menu-item22 a {
        display: flex;
        align-items: center;
    }
    
    /* Стили для мобильной кнопки входа */
    .user-menu-item22-mobile {
    display: block;
    text-align: center;
}

.user-menu-item22-mobile a {
    display: inline-flex;
    background: transparent;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: none;
    color: #778397;
    padding: 0;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 22px;
    cursor: pointer;
    align-items: center; /* Вертикальное центрирование */
    justify-content: center; /* Горизонтальное центрирование */
}

.user-menu-item22-mobile a i {
    margin: 0; /* Убираем отступы у иконки */
}
    
    .user-menu-item22-mobile a:hover {
         background: rgba(0, 0, 0, 0.05);
    }
	
	.user-menu-item22-mobile i:active {
  transform: scale(0.95);
}

.modal-close i:active {
  transform: scale(0.95);
}
	
    /* 
   .user-menu-item22-mobile a i {
        margin-right: 6px;
    }*/
    
}
.spons {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.spons a {
  display: inline-block;
  text-align: center;
}
.spons img {
  width: 220px;
  height: auto;
  opacity: 0.9;
}
.spons img:hover {
  opacity: 1;
}
@media screen and (max-width: 767px) {
.spons img {
  width: 200px;
  height: auto;
}
.spons {
  gap: 8px;
}
  }

.comparison-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin: 30px auto;
    width: 100%;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.9rem;
}
.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}
.comparison-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #778397;
    font-size: 1rem;
}
.comparison-table th.inforeg {
    background: #0071e3;
    color: white;
    font-weight: 700;
    text-align: center;
}
.comparison-table th.infoguest {
    background: #718096;
    color: white;
    font-weight: 700;
    text-align: center;
}
.comparison-table tr:last-child td {
    border-bottom: none;
}
.comparison-table tr:nth-child(even) {
    background: #f8fafc;
}
.comparison-table td:first-child {
    font-weight: 500;
    color: #4a5568;
}
.comparison-table td.regyes {
    text-align: center;
    color: #48bb78;
    font-size: 1.2rem;
}
.comparison-table td.regno {
    text-align: center;
    color: #f56565;
    font-size: 1.2rem;
}
.comparison-table .button-box {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 900px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}
.comparison-table .button-box.register {
    background: #0071e3;
    color: white;
}
.comparison-table .button-box.register:hover {
    background: #0071e3;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.comparison-table .button-box.login {
    background: #718096;
    color: white;
}
.comparison-table .button-box.login:hover {
    background: #718096;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
li {
  list-style-type: none;
}
@media (max-width: 768px) {
    .comparison-container {
        margin: 20px 0;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 15px;
    }
    
    .comparison-table th.inforeg,
    .comparison-table th.infoguest {
        font-size: 0.9rem;
    }
    
    .comparison-table .button-box {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

.regyes {
color: green;
font-size: 14pt;
vertical-align: middle;
font-weight: 600;
}
.regno {
color: red;
font-size: 14pt;
vertical-align: middle;
font-weight: 600;
}
.inforeg {
  background: #0071e3 !important;
  color: #383838;
  font-size: 18px;
}
@media screen and (max-width: 767px) {
  .inforeg {
    font-size: 12px;
  }
}
.infoguest {
  color: #717171;
  font-size: 18px;
}
@media screen and (max-width: 767px) {
  .infoguest {
    font-size: 12px;
  }
}
.container-index {
  padding: 20px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  color: #6f6f6f;
  max-width: 1200px;
}
@media screen and (max-width: 767px) {
  .container-index {
    padding: 10px 20px;
  }
}
.container-good {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  color: #6f6f6f;
  max-width: 1200px;
}

.container-all {
  padding: 20px;
  width: 80%;
  margin: 0 auto;
  color: #6f6f6f;
  /*margin-top: 22px;*/
}
@media screen and (max-width: 767px) {
  .container-all {
    width: 100%;
  }
}
.container-index.container-contact {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
@media screen and (max-width: 767px) {
.container-index.container-contact {
        padding: 15px;
    }
}
.heightimg-contact {
	overflow: hidden;
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 20px 40px;
    margin: 30px 0;
}
@media screen and (max-width: 767px) {
.heightimg-contact {
        padding: 20px;
        margin: 10px 0;
    }
}
.form-field {
    position: relative;
    margin-bottom: 20px;
}
.field-border {
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}
.field-border:focus-within {
    border-color: #0071e3;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.field-border2 {
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    background-color: #f8fafc;
    transition: all 0.2s ease;
	user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none; 
}
.field-border2:focus-within {
    border-color: #e2e8f0;
    background-color: #f8fafc;
    box-shadow: none;
}
.field-icon {
    margin-right: 12px;
    color: #64748b;
    font-size: 16px;
}
.field-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #334155;
    outline: none;
}
.field-input:read-only {
    color: #94a3b8;
    cursor: not-allowed;
}
.field-label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: #fff;
    padding: 0 5px;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0071e3;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  gap: 0.5rem;
  box-sizing: border-box;
  transition: all 0.2s ease;
  width: 100%;
}
.btn:hover {
    background: #007BF4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn-container {
    text-align: center;
    margin: 20px 0;
}
.captcha-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}
.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
}
.message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.message.error {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
	line-height: 26px;
}
.loading {
    display: none;
    text-align: center;
    margin: 20px 0;
}
.message .fas {
  padding-right: 4px;
}
.sent-message, .error-message {
    display: none;
}
.modal-contact {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    animation: fadeIn 0.3s;
}
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-align: center;
    animation: slideIn 0.3s;
}
.close-contact {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}
.close-contact:hover {
    color: #000;
}
.modal-icon {
    font-size: 48px;
    margin-bottom: 20px;
}
.success-icon {
    color: #10b981;
}
.error-icon {
    color: #ef4444;
}
.modal-text {
    color: #64748b;
    margin-bottom: 40px;
	line-height: 26px;
}
.modal-btn-contact {
    width: 100%;
    background: #0071e3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
	max-width: 180px;
}
.modal-btn-contact:hover {
background-color: #007BF4;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
@keyframes slideIn {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}
@media (max-width: 768px) {
.captcha-container {
        transform: scale(0.85);
        transform-origin: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 20% auto;
    }
}
.content-wrapper {
background: linear-gradient(360deg, #fff 0%, #e9f0f7 100%);
}
.bottom-container {
padding: 20px;
width: 100%;
max-width: 1620px;
margin: 0 auto;
text-align: center;
color: #6f6f6f;
}
.bottom-container h1 {
  color: #778397;
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  padding: 25px 30px;
  position: relative;
  text-align: center;
}
@media screen and (max-width: 767px) {
.bottom-container h1 {
    font-size: 22px;
    padding: 25px 0;
  }
  
.bottom-container {
  padding: 0 20px;
}
}
.uploaded-documents-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 301.5px)); 
  gap: 18px;
  justify-content: center;
  justify-items: center;
  padding-bottom: 20px;
}
@media screen and (max-width: 767px) {
.uploaded-documents-container {
  grid-template-columns: repeat(auto-fill, minmax(190px, 190px)); 
  gap: 12px;
}
  }

  @media screen and (max-width: 431px) {
.uploaded-documents-container {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
  }
  
.uploaded-file-doc {
  background-color: #fff;
  box-shadow: 0px 2px 1px rgba(213, 213, 213, 0.58);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  height: auto;
  max-width: 320px;
}
.document-icon {
  cursor: pointer;
  transition: transform 0.3s;
  max-width: 100%;
  height: auto;
}
.uploaded-file-doc .document-icon {
  width: 100%;
  display: block;
  margin: 0 auto;
  max-width: 400px;
  margin-top: 10px;
}
.links-buttons-container {
  padding: 15px 0 8px 0;
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 0;
  width: 100%;
}
.embed-codes-container {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 90%;
      max-width: 700px;
      max-height: 85vh;
      overflow: auto;
      background-color: #ffffff;
      z-index: 9999;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
      border-radius: 12px;
}
    
@media screen and (max-width: 767px) {
        .embed-codes-container {
  width: 95%;
  max-height: 90vh;
}
    }
.close-button-embedcodes {
      position: absolute;
      top: 0.5rem;
      right: 1rem;
      width: 2.5rem;
      height: 2.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      border: none;
      border-radius: 50%;
      cursor: pointer;
      color: #6b7280;
      transition: all 0.2s ease;
      z-index: 10;
      font-size: 1.25rem;
}
    
.close-button-embedcodes:hover {
      background: #f3f4f6;
      color: #1f2937;
}
.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
}
  
@media screen and (max-width: 767px) {
.action-button {
  padding: 8px 10px;
  }
}
  
.delete-button {
    background-color: #fff;
    color: #778397;
	border-radius: 0 0 8px 0;
}
  
.delete-button:hover {
    background-color: #f20909;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
    color: #fff;
}
  
.codes-button {
    background-color: #fff;
    color: #778397;
}
  
.codes-button:hover {
    background-color: #0071e3;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
    color: #fff;
}
  
.view-button {
    background-color: #fff;
    color: #778397;
    border-radius: 0 0 0 8px;
}
  
.view-button:hover {
    background-color: #0071e3;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
    color: #fff;
    text-decoration: none;
}
  
.edit-button {
    background-color: #fff;
    color: #778397;
}
  
.edit-button:hover {
    background-color: #0071e3;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
    color: #fff;
}
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
	font-size: 14px;
    text-decoration: none;
    color: #4a5568;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}
  
.pagination a:hover {
    background: #f8fafc;
    color: #0071e3;
}
  
.pagination a.current-page {
    background: #0071e3;
    color: white;
    font-weight: 600;
}
  
.pagination-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #4a5568;
}
.document-container h1 {
  color: #778397;
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  padding: 25px 30px;
  position: relative;
  text-align: center;
}
.document-container {
padding: 20px;
width: 100%;
max-width: 1620px;
margin: 0 auto;
text-align: center;
color: #6f6f6f;
}
@media screen and (max-width: 767px) {
.document-container h1 {
    font-size: 22px;
    padding: 25px 0;
  }
  
.document-container {
  padding: 0 20px;
  }
}
.no-files-message {
  text-align: center;
  padding: 40px;
  background: rgba(34, 60, 80, 0.02);
  border-radius: 12px;
  box-shadow: 0px 5px 5px -5px rgba(34, 60, 80, 0.18);
  margin: 12px;
}
  
.no-files-message p {
    color: #4a5568;
    font-size: 18px;
    margin: 0;
}
.embed-codes {
    background: #f8fafc;
    padding: 20px;
}
  
.embed-codes h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #5e5e5e;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}
.link-container {
      text-align: left;
    margin-bottom: 20px;
}
  
.link-container p {
  margin: 0 0 4px 0;
  font-size: 0.9rem;
  color: #5e5e5e;
  font-weight: 600;
}
  
.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    position: relative;
}
  
.input-group input {
    flex: 1;
    color: #757575;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    transition: all 0.2s ease;
}
  
.input-group input:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}
.copy-button {
    background: #0071e3;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
    position: relative;
}
  
.copy-button:hover {
    background: #007BF4;
}
  
.copy-button svg {
    width: 18px;
    height: 18px;
}
  
.copy-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #0071e3;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 10;
    margin-bottom: 5px;
    text-align: center;
}
  
.copy-tooltip:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #0071e3 transparent transparent transparent;
}
  
.copy-button.show-tooltip .copy-tooltip {
    opacity: 1;
    visibility: visible;
}
@media screen and (max-width: 767px) {
    .action-button {
        width: 100%;
        justify-content: center;
    }
    
    .pagination a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .pagination-dots {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
	  
    .embed-codes-container {
        width: 95%;
        max-height: 90vh;
    }
    
    /* Мобильные стили для BB-кодов */
    .input-group {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
    }
    
    .input-group input {
        flex: 1;
        margin-bottom: 0;
        margin-right: 5px;
        min-width: 0;
    }
    
    .copy-button {
        width: auto;
        padding: 8px 12px;
        flex-shrink: 0;
    }
    
    .copy-tooltip {
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 5px;
        background: #0071e3;
        padding: 5px 6px;
    }
    
    .copy-tooltip:after {
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border-width: 5px;
        border-style: solid;
        border-color: #0071e3 transparent transparent transparent;
    }
	
	.image-close-modalimg {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    /* Адаптивные стили для крестиков */
    .close-button-embedcodes {
        width: 2rem;
        height: 2rem;
        top: 0.75rem;
        right: 0.75rem;
        font-size: 1.125rem;
    }
}
  
.original-document-container a {
    color: #778397;
    text-decoration: none;
}
/* Стили для уведомлений */
  .notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
  }
  .notification.success {
    background-color: #4CAF50;
  }
  .notification.error {
    background-color: #F44336;
  }
  .notification.warning {
    background-color: #F44336;
  }
  
  /* Стили для выбора документов */
  .selection-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
  }
  
  .select-all-container {
    display: flex;
    align-items: center;
  }
  
  .select-all-container input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
  }
  
  .select-all-container label {
    cursor: pointer;
    font-size: 14px;
    color: #4a5568;
  }
  
  .delete-selected-button {
    background-color: #f20909;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .delete-selected-button:hover {
    background-color: #d10707;
  }
  
  .delete-selected-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
  }
  
  /* Новые стили для выравнивания названия и чекбокса */
  .document-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
  }
  
  .document-title-container {
    flex: 1;
    overflow: hidden;
  }
  
  .document-title-container a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #778397;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
  }
  
  .document-checkbox-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  
  .document-checkbox {
    display: none;
  }
  
  .image-checkbox-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  
  .image-checkbox {
    display: none;
  }
  
  .checkbox-label {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: rgb(249, 249, 249);
    border: 2px solid #e6e9f7;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    box-sizing: border-box;
  }
  
  .document-checkbox:checked + .checkbox-label {
    background-color: #0071e3;
  }
  
  .image-checkbox:checked + .checkbox-label {
    background-color: #0071e3;
  }
  
  .document-checkbox:checked + .checkbox-label:after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    line-height: 1;
  }
  
  .image-checkbox:checked + .checkbox-label:after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    line-height: 1;
  }
  
  .checkbox-label:after {
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  
  .document-checkbox:checked + .checkbox-label:after {
    opacity: 1;
  }
  
  .image-checkbox:checked + .checkbox-label:after {
    opacity: 1;
  }
  
  .select-all-container .select-all-checkbox-label {
    margin-left: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #9eadc6;
  }
  
  /* Стили для модального окна подтверждения удаления */
  .confirm-modal-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1004;
    justify-content: center;
    align-items: center;
  }
  
  .confirm-modal {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    padding: 25px;
    text-align: center;
    z-index: 1005;
  }
  
  .confirm-modal h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
  }
  
  .confirm-modal p {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
  }
  
  .confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  .confirm-button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
  }
  
  .confirm-yes {
    background-color: #0071e3;
    color: white;
	border-color: #0071e3;
    border-style: solid;
    border-width: 1px;
  }
  
  .confirm-yes:hover {
    background-color: #007BF4;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .confirm-no {
    background-color: #fff;
    color: #4a5568;
	border-color: #0071e3;
    border-style: solid;
    border-width: 1px;
  }
  
  .confirm-no:hover {
    background-color: #007BF4;
	color: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border-color: #0071e3;
    border-style: solid;
    border-width: 1px;
	
  }
  
  /* Стили для иконок документов */
  .document-icon-container {
    text-align: center;
    margin-bottom: 15px;
  }
  
  .document-icon {
    font-size: 80px;
    color: #0071e3;
    margin-bottom: 10px;
  }
  
  .document-info {
    font-size: 14px;
    color: #5e5e5e;
  }
  
  /* Стили для модального окна редактирования */
  .edit-modal-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1006;
    justify-content: center;
    align-items: center;
  }
  
  .edit-modal {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    padding: 25px;
    z-index: 1007;
  }
  
  .edit-modal h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
  }
  
  .form-group-files {
    margin-bottom: 15px;
  }
  
  .form-group-files label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
  }
  
  .form-group-files input,
  .form-group-files textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
  }
  
.form-group-files textarea {
    resize: vertical;
}
.edit-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
  
.char-counter {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}
  
.char-counter.warning {
    color: #f39c12;
}
  
.char-counter.error {
    color: #e74c3c;
}
.uploaded-images-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 301.5px)); 
  gap: 18px;
  justify-content: center;
  justify-items: center;
  padding-bottom: 20px;
}
@media screen and (max-width: 767px) {
.uploaded-images-container {
  grid-template-columns: repeat(auto-fill, minmax(190px, 190px)); 
  gap: 12px;
}
  }
  
  @media screen and (max-width: 431px) {
.uploaded-images-container {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
  }
.uploaded-file-img {
  background-color: #fff;
  box-shadow: 0px 2px 1px rgba(213, 213, 213, 0.58);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  height: auto;
  max-width: 320px;
}
.original-image {
  cursor: pointer;
  transition: transform 0.3s;
  max-width: 100%;
  height: auto;
}
.uploaded-file-img img {
  width: 100%;
  display: block;
  margin: 0 auto;
  max-width: 400px;
}
.image-modal-backgimg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}
.image-modalimg {
    position: relative;
    z-index: 1002;
    max-width: 95%;
    max-height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-modalimg img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    object-fit: contain;
    margin: 0;
}
@media (max-width: 768px) {
  .image-modalimg img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0;
  }
}
/* Обновленный стиль для крестика закрытия увеличенного изображения */
.image-close-modalimg {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.2s ease;
    z-index: 1003;
    font-size: 20px;
}
.image-close-modalimg:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.links-buttons-containerimg {
  padding: 0;
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 0;
  width: 100%;
}
.original-image-container a {
    color: #778397;
    text-decoration: none;
}
.image-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px;
}
.image-title-container {
    flex: 1;
    overflow: hidden;
  }
  
.image-title-container a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #778397;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.container-index.container-register {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.heightimg-all {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    margin: 30px 0;
}
@media (max-width: 768px) {
.heightimg-all {
        padding: 20px;
        margin: 10px 0;
    }
}
.heightimg-all h2 {padding-bottom: 15px;}
.form-container-all {
    max-width: 500px;
    margin: 0 auto;
}
.container-index-all {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.readonly-info {
    font-size: 12px;
    color: #64748b;
    margin-top: 5px;
    font-style: italic;
    text-align: center;
}
.no-password-notice {
  background-color: #fef2f2;
  padding: 12px 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  text-align: left;
  border: 1px solid #fecaca;
}
.no-password-notice p {
    margin: 0;
    font-size: 14px;
    color: #dc2626;
}
.no-password-notice strong {
    color: #dc2626;
}
/* Стилі для вимог до пароля */
.password-requirements {
    margin-top: 5px;
    padding: 15px;
    background-color: #f8fafc;
    border-radius: 8px;
    display: none; /* Спочатку приховано */
	margin: 20px 0;
}
.password-requirements.visible {
    display: block; /* Показуємо, коли потрібно */
}
.password-requirements-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: #4b5563;
    font-size: 14px;
}
.password-requirements-list {
    margin: 0;
    padding-left: 0;
    list-style-type: none;
}
.password-requirements-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
}
.password-requirements-list li:last-child {
    margin-bottom: 0;
}
.password-requirements-list li::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
    width: 20px;
    text-align: center;
}
.password-requirements-list li.valid {
    color: #10b981;
}
.password-requirements-list li.valid::before {
    content: '\f00c';
    color: #10b981;
}
.password-requirements-list li.invalid {
    color: #ef4444;
}
.password-requirements-list li.invalid::before {
    content: '\f00d';
    color: #ef4444;
}
.password-requirements-list li.neutral {
    color: #9ca3af;
}
.password-requirements-list li.neutral::before {
    content: '\f111';
    color: #9ca3af;
    font-size: 8px;
}
@media (max-width: 768px) {
.registration-modal {
padding: 20px;
}
    
.registration-modal-header h3 {
font-size: 20px;
}
    
.registration-modal-body p {
font-size: 14px;
}
    
.password-requirements {
padding: 12px;
}
    
.password-requirements-list li {
font-size: 12px;
padding-left: 24px;
}

  }
/* Стилі для перевірки співпадіння паролів */
.password-match {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    display: none; /* Спочатку приховано */
}
.password-match.visible {
    display: flex; /* Показуємо, коли потрібно */
}
.password-match::before {
    margin-right: 8px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}
.password-match.valid {
    color: #10b981;
}
.password-match.valid::before {
    content: '\f00c';
}
.password-match.invalid {
    color: #ef4444;
}
.password-match.invalid::before {
    content: '\f00d';
}
.password-match.neutral {
    color: #9ca3af;
}
.password-match.neutral::before {
    content: '\f111';
    color: #9ca3af;
    font-size: 8px;
}
/* Стилі для повідомлень про помилки полів */
.field-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 5px;
    display: flex;
    align-items: center;
}
.field-error::before {
    content: '\f06a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
    color: #ef4444;
}
.field-valid {
    color: #10b981;
    font-size: 13px;
    margin-top: 5px;
    display: flex;
    align-items: center;
}
.field-valid::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
    color: #10b981;
}
@media (max-width: 768px) {
       
    .password-requirements {
        padding: 12px;
    }
    
    .password-requirements-list li {
        font-size: 12px;
        padding-left: 24px;
    }
}
/* Стили для FAQ страницы */
.faq-subtitle {
  font-size: 20px;
  color: #666;
  text-align: center;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .faq-subtitle {
    font-size: 18px;
  }
}
.faq-container {
  padding: 20px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  color: #6f6f6f;
}

.faq-container h1 {
  color: #778397;
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  padding: 25px 30px;
  position: relative;
  text-align: center;
}

.faq-item {
  border: 1px solid #f3f5f7;
  padding: 20px 0;
  border-radius: 8px;
  margin: 20px;
  background: #f8fafc;
}

@media (max-width: 768px) {
	.faq-item {
	margin: 20px 0;
	}
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.faq-question {
    display: flex;
    align-items: center;
    cursor: pointer;
	padding: 0 20px;
}
.faq-icon {
  background: #fff;
  color: #0071e3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.faq-question.active .faq-icon {
    background: #0071e3;
    color: white;
    transform: rotate(180deg);
}
.faq-question h3 {
    font-size: 1.2rem;
    color: #4a5568;
    font-weight: 600;
    margin: 0;
    padding-top: 0; /* ИЗМЕНЕНО: Убран отступ сверху */
    flex-grow: 1;
    text-align: left;
    padding-bottom: 0;
    line-height: 36px; /* ИЗМЕНЕНО: Выравнивание по высоте иконки */
}
.faq-answer {
    padding: 0 20px;
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
    display: none;
}
.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.faq-answer ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.faq-answer li {
    margin-bottom: 8px;
}
.faq-answer a {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
}
.faq-answer a:hover {
    text-decoration: underline;
}
.faq-answer code {
    background: #f8fafc;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #e53e3e;
}
.faq-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}
.faq-feature {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    width: 250px;
    text-align: center;
    transition: all 0.3s ease;
}
.faq-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.faq-feature-icon {
    font-size: 2.5rem;
    color: #fac008;
    margin-bottom: 15px;
}
.faq-feature h4 {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 10px;
    font-weight: 600;
}
.faq-feature p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}
@media (max-width: 768px) {
	.faq-container {
        padding: 0 20px;
        max-width: 100%;
    }
	  .faq-container h1 {
    font-size: 22px;
    padding: 25px 0;
  }

    .faq-question h3 {
        font-size: 1rem;
        line-height: 22px;
    }
    .faq-answer {
        
    }
    .faq-features {
        flex-direction: column;
        align-items: center;
		margin-bottom: 20px;
    }
    .faq-feature {
        width: 100%;
        max-width: 350px;
    }
}
@media (min-width: 1200px) {
    .faq-container {
        max-width: 960px;
    }
}
.faq-answer ul li::before {
  content: '•';
  color: #0071e3;
  margin-right: 8px;
  font-weight: bold;
}
.error-container {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  color: #dc2626;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .error-container {
    margin-left: 20px;
    margin-right: 20px;
    width: auto;
    max-width: none;
  }
}
.error-container h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #b91c1c;
}
.error-container p {
    /*margin: 0;*/
    text-align: center;
	line-height: 26px;
}
.error-container ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}
.error-container li {
    margin-bottom: 8px;
}
.error-container li:last-child {
    margin-bottom: 0;
}
/* Стили для загруженных файлов */
.uploaded-files-container {
    margin-top: 30px;
}
.uploaded-file-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-shadow: 0px 5px 5px -7px rgba(34, 60, 80, 0.4);
    -moz-box-shadow: 0px 5px 5px -7px rgba(34, 60, 80, 0.4);
    box-shadow: 0px 5px 5px -7px rgba(34, 60, 80, 0.4);
}
.uploaded-file-item h1 {
  color: #5e5e5e;
  font-size: 18px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  padding: 25px 30px;
  position: relative;
  text-align: center;
}
@media screen and (max-width: 767px) {
.uploaded-file-item h1 {
    font-size: 16px;
    padding: 25px;
  }
.uploaded-file-item {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
}
@media (max-width: 992px) {
  .uploaded-file-item {
    max-width: 800px;
  }
}
@media (max-width: 768px) {
  .uploaded-file-item {
    max-width: 600px;
  }
}
.uploaded-image {
    text-align: center;
    margin-bottom: 20px;
}
.uploaded-image img {
    max-width: 600px;
    width: auto;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.uploaded-image img:hover {
    transform: scale(1.02);
}
@media (max-width: 768px) {
  .uploaded-image img {
    max-width: 100%;
  }
}
.document-preview {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 20px;
    border-radius: 8px;
}
.document-icon-files {
  font-size: 180px;
  color: #0071e3;
  margin-bottom: 20px;
  height: 190px;
  margin-bottom: 20px;
}
.file-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.file-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0071e3;
    color: white;
    font-size: 14px;
    padding: 8px;
    border-radius: 900px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 40px;
    min-height: 40px;
    gap: 8px;
}
.file-action-btn:hover {
    background: #007BF4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.file-action-btn i {
    font-size: 16px;
}
.delete-button-files {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0071e3;
    color: white;
    padding: 8px;
    border-radius: 900px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    min-width: 40px;
    min-height: 40px;
    gap: 8px;
}
.delete-button-files:hover {
  background: #007BF4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.delete-button-files i {
    font-size: 16px;
}
.edit-button-files {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0071e3;
    color: white;
    padding: 8px;
    border-radius: 900px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    min-width: 40px;
    min-height: 40px;
    gap: 8px;
}
.edit-button-files:hover {
  background: #007BF4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.edit-button-files i {
    font-size: 16px;
}
.copylin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0071e3;
    color: white;
    padding: 8px;
    border-radius: 900px !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    min-width: 40px;
    min-height: 40px;
    gap: 8px;
}
.copylin:hover {
  background: #007BF4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.copylin i {
    font-size: 16px;
}
@media (max-width: 768px) {
  .copylin {
    padding: 8px !important;
  }
}
.file-description {
    background: #f8fafc;
	line-height: 26px;
    font-size: 14px;
    padding: 20px 20px 10px 20px;
    margin-bottom: 0;
}
.file-description p {
    margin: 0 0 10px 0;
    color: #4a5568;
}
.file-description p:last-child {
    margin-bottom: 0;
}
.info-files {
  background: #f8fafc;
  padding: 20px;
  margin-bottom: 0;
  line-height: 11px;
  font-size: 12px;
}
.info-files p {
    margin: 0 0 10px 0;
    color: #4a5568;
}
.info-files p:last-child {
    margin-bottom: 0;
}
/* Модальное окно для просмотра изображения */
.image-modal-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px; /* Отступы от краев экрана */
  box-sizing: border-box;
}

.image-modal img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
  border-radius: 4px; /* Опционально: скругление углов */
}
/* Обновленный стиль для крестика закрытия увеличенного изображения */
.image-close-modal {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.2s ease;
    z-index: 1003;
    font-size: 20px;
}
.image-close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.google-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 15px;
    box-sizing: border-box;
}
.google-modal {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}
.google-modal-header {
    text-align: center;
    margin-bottom: 15px;
}
.google-modal-header h3 {
    color: #778397;
    font-size: 22px;
    margin: 0;
    line-height: 1.3;
}
.google-modal-icon {
    font-size: 42px;
    margin-bottom: 12px;
    color: #4285F4; /* Цвет Google */
}
.google-modal-body {
    text-align: center;
    margin-bottom: 20px;
}
.google-modal-body p {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.4;
    margin: 0 0 12px 0;
}
.optional-notice {
  background-color: #fef2f2;
  padding: 12px 15px;
  margin: 30px 0;
  border-radius: 8px;
  text-align: left;
  border: 1px solid #fecaca;
}
.optional-notice p {
    margin: 0;
    font-size: 13px;
    color: #dc2626;
    line-height: 1.4;
}
.optional-notice strong {
    color: #dc2626;
}
.btn-container-google {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 12px 0;
}
.google-btn {
    display: inline-block;
    background: #0071e3;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    min-width: 160px;
}
.google-btn:hover {
    background: #007BF4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.google-btn-secondary {
    background: #f1f5f9;
    color: #4a5568;
}
.google-btn-secondary:hover {
    background: #e2e8f0;
}
/* Для мобільних пристроїв */
@media (max-width: 480px) {
    .btn-container-google {
        flex-direction: column;
        align-items: center;
    }
    .google-btn {
        min-width: 100%;
        max-width: 250px;
        font-size: 14px;
        padding: 10px 15px;
    }
}
.password-form {
    display: none;
    margin-top: 15px;
    text-align: left;
}
.registration-form-field {
    position: relative;
    margin-bottom: 20px;
}
.registration-field-border {
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}
.registration-field-border:focus-within {
    border-color: #0071e3;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.registration-field-icon {
    margin-right: 12px;
    color: #64748b;
    font-size: 16px;
}
.registration-field-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #334155;
    outline: none;
}
.registration-field-label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: #fff;
    padding: 0 5px;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}
.popup-user {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
    color: #334155;
}
.popup-button2 {
    text-align: center;
    margin-bottom: 15px;
}
.popup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  gap: 0.5rem;
  box-sizing: border-box;
  background: #0071e3;
  width: 100%;
  max-width: 240px;
  color: white;
  transition: all 0.2s ease;
}
.popup-button:hover {
background: #007BF4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.textlogin {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #64748b;
}
input:-webkit-autofill {
 /* box-shadow: 0 0 0 1000px #fff inset; */
  -webkit-text-fill-color: #6f6f6f;       /* цвет текста */
  transition: background-color 5000s ease-in-out 0s; /* чтобы Chrome не перекрашивал снова */
}
.linkreg {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
}
.linkreg:hover {
    text-decoration: underline;
}
/* Стилі для входу через Google */
.google-login-container {
    margin-top: 25px;
}
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #6b7280;
    font-size: 14px;
}
.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}
.divider span {
    padding: 0 15px;
}
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #3c4043;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	box-sizing: border-box;
}
.btn-google:hover {
    box-shadow: 0 1px 5px rgba(0,0,0,0.15);
    background: #f8f9fa;
}
.btn-google svg {
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .google-login-container {
        margin-top: 20px;
    }
    
    .divider {
        margin: 15px 0;
    }
    
    .btn-google {
        padding: 10px;
        font-size: 15px;
    }
    
    .btn-google svg {
        width: 16px;
        height: 16px;
    }
}
.registration-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #0071e3;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    width: 100%;
}
.registration-btn:hover {
    background: #007BF4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.registration-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.registration-btn-container {
    text-align: center;
    margin-top: 10px;
}
.registration-captcha-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}
@media (max-width: 768px) {
.registration-captcha-container {
        transform: scale(0.85);
        transform-origin: center;
    }
}
.registration-message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: left;
    line-height: 1.5;
}
.registration-message.registration-error {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    display: flex;
    align-items: center;
}
.registration-message.registration-error i {
    margin-right: 10px;
    font-size: 18px;
    flex-shrink: 0;
	/*vertical-align: middle;*/
}
.registration-message.registration-error a {
    color: #b91c1c;
    text-decoration: underline;
    font-weight: 500;
}
.registration-message.registration-error a:hover {
    color: #991b1b;
}
.registration-message.registration-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: flex;
    align-items: center;
}
.registration-message.registration-success i {
    margin-right: 10px;
    font-size: 18px;
    flex-shrink: 0;
}
.registration-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 2px;
    cursor: pointer;
}

/* Скрываем стандартный чекбокс */
.registration-form-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

/* Кастомный чекбокс */
.custom-checkbox {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: rgb(249, 249, 249);
    border: 2px solid #e6e9f7;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Состояние выбранного чекбокса */
.registration-form-checkbox input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #0071e3;

}

/* Галочка для выбранного состояния */
.registration-form-checkbox input[type="checkbox"]:checked + .custom-checkbox::after {
    content: '';
    position: absolute;
    top: 0px;
  left: 4px;
  width: 4px;
  height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Текстовая метка */
.registration-form-checkbox label:not(.custom-checkbox) {
    font-size: 14px;
    color: #4b5563;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

/* Ссылки в тексте */
.registration-form-checkbox a {
    color: #0071e3;
    text-decoration: none;
}

.registration-form-checkbox a:hover {
    text-decoration: underline;
}
/* Стилі для посилання на вход */
.registration-textlogin {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #64748b;
}
.registration-linkreg {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
}
.registration-linkreg:hover {
    text-decoration: underline;
}
/* Додаткові стилі для сторінки відновлення */
.registration-instructions {
  padding: 15px;
  margin-bottom: 20px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}
.registration-instructions i {
    color: #0071e3;
    margin-right: 4px;
}
@media (max-width: 768px) {
.registration-message {
padding: 8px;
  }
}
/* Стилі для модального вікна успішної реєстрації */
.registration-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.registration-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.registration-modal {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: all 0.3s ease;
}
.registration-modal-overlay.active .registration-modal {
    transform: translateY(0);
}
.registration-modal-header {
    text-align: center;
    margin-bottom: 20px;
}
.registration-modal-header h3 {
    color: #778397;
    font-size: 24px;
    margin: 0;
}
.registration-modal-icon {
    font-size: 48px;
    color: #10b981;
    margin-bottom: 15px;
}
.registration-modal-body {
    text-align: center;
    margin-bottom: 25px;
}
.registration-modal-body p {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}
.registration-modal-footer {
    text-align: center;
}
.registration-modal-footer .registration-btn {
    width: auto;
    padding: 10px 25px;
    font-weight: 600;
}
/* Стили для страницы static */
.static-subtitle {
  font-size: 20px;
  color: #666;
  text-align: center;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .static-subtitle {
    font-size: 18px;
  }
}
.static-container {
  padding: 20px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  color: #6f6f6f;
}

.static-container h1 {
  color: #778397;
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  padding: 25px 30px;
  position: relative;
  text-align: center;
}

.static-section {
    margin-bottom: 40px;
}
.static-section:last-child {
    margin-bottom: 0;
}
.static-title {
    font-size: 1.4rem;
    color: #4a5568;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
	text-align: left;
}
.static-content {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
}
.static-content p {
    margin-bottom: 15px;
}
.static-content p:last-child {
    margin-bottom: 0;
}
.static-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 15px 0;
}
.static-content li {
    margin-bottom: 8px;
}
.static-content a {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
}
.static-content a:hover {
    text-decoration: underline;
}
.static-content code {
    background: #f8fafc;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #e53e3e;
}
.static-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
    justify-content: center;
}
.static-feature {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    width: 250px;
    text-align: center;
    transition: all 0.3s ease;
}
.static-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.static-feature-icon {
    font-size: 2.5rem;
    color: #0071e3;
    margin-bottom: 15px;
}
.static-feature h4 {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 10px;
    font-weight: 600;
}
.static-feature p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .static-container {
        padding: 0 20px;
        max-width: 100%; /* На мобильных устройствах занимаем всю ширину */
    }
	  .static-container h1 {
    font-size: 22px;
    padding: 25px 0;
  }
    .static-title {
        font-size: 1.2rem;
    }
    .static-features {
        flex-direction: column;
        align-items: center;
		margin: 20px 0;
    }
    .static-feature {
        width: 100%;
        max-width: 350px;
    }
}
@media (min-width: 1200px) {
    .static-container {
        max-width: 960px; /* На очень больших экранах занимаем 70% ширины */
    }
}
.static-section ul li::before {
  content: '•';
  color: #0071e3;
  margin-right: 8px;
  font-weight: bold;
}
.prohibited-list {
        list-style-type: none; 
        counter-reset: prohibited-counter;
        padding-left: 0;
}

.prohibited-list li {
        counter-increment: prohibited-counter;
        padding-left: 20px;
        position: relative;
}

.prohibited-list li::before {
        content: counter(prohibited-counter) "."; 
        position: absolute;
        left: 0;
        top: 0;
        font-weight: bold;
        color: #778397;
}
.activation-modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.activation-modal {
background: white;
border-radius: 12px;
width: 90%;
max-width: 500px;
padding: 30px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.activation-modal-header {
text-align: center;
margin-bottom: 20px;
}
.activation-modal-header h3 {
color: #778397;
font-size: 24px;
margin: 0;
}
.activation-modal-icon {
font-size: 48px;
margin-bottom: 15px;
color: #e53e3e; /* Червоний колір для помилки */
}
.activation-modal-body {
text-align: center;
margin-bottom: 25px;
}
.activation-modal-body p {
color: #4a5568;
font-size: 16px;
line-height: 1.5;
margin: 0 0 15px 0;
}
.activation-modal-footer {
text-align: center;
margin-bottom: 20px;
}
.btn-container-activation {
display: flex;
justify-content: center;
gap: 10px;
margin: 15px 0;
}
.activation-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0071e3;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  color:white;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-sizing: border-box;
  min-width: 180px;
}

.activation-btn:hover {
background: #007BF4;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.activation-btn-secondary {
background: #f1f5f9;
color: #4a5568;
}
.activation-btn-secondary:hover {
background: #e2e8f0;
}

@media (max-width: 480px) {
max-width: 480px {
flex-direction: column;
align-items: center;
}
.activation-btn {
min-width: 100%;
max-width: 250px;
    }
}
/* Стилі для сторінки підтвердження */
.verification-container {
    max-width: 600px;
    margin: 100px auto;
    padding: 20px;
    text-align: center;
}

/* Стилі для модального вікна */
.verification-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.verification-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.verification-modal {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.verification-modal-overlay.active .verification-modal {
    transform: translateY(0);
}

.verification-modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.verification-modal-header h3 {
    color: #2d3748;
    font-size: 24px;
    margin: 0;
}

.verification-modal-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.verification-modal-icon.success {
    color: #10b981;
}

.verification-modal-icon.error {
    color: #ef4444;
}

.verification-modal-body {
    text-align: center;
    margin-bottom: 25px;
}

.verification-modal-body p {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.verification-modal-footer {
    text-align: center;
}

.verification-btn {
  background: #0071e3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  color:white;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  gap: 0.5rem;
  box-sizing: border-box;
}

.verification-btn:hover {
    background: #2563eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.verification-btn.error {
    background: #ef4444;
}

.verification-btn.error:hover {
    background: #dc2626;
}

@media (max-width: 768px) {
    .verification-container {
        margin: 50px auto;
        padding: 15px;
    }
    
    .verification-modal {
        padding: 20px;
    }
    
    .verification-modal-header h3 {
        font-size: 20px;
    }
    
    .verification-modal-body p {
        font-size: 14px;
    }
}

.site-footer {
padding: 20px 60px;
text-align: center;
background-color: rgb(250, 250, 253);
font-size: 12px;
color: #4d4c4c;
margin: 0 auto;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}
.logo a {
text-decoration: none;
color: rgba(0, 0, 0, 0.26);
font-size: 18px;
font-weight: 800;
text-transform: uppercase;
}
.logo a:hover {
color: rgba(0, 0, 0, 0.30);
text-decoration: none;
}
.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
}

.footer-menu ul li a {
  text-decoration: none;
  color: #4d4c4c;
}
.footer-menu ul li a:hover
{
  text-decoration: underline;
}
@media (max-width: 768px) {
.footer-content {
    flex-direction: column;
	align-items: inherit;
  }
  .totalfiles {
  margin-bottom: 10px;
}

.footer-menu {
  margin-bottom: 10px;
  display: flex;
    align-items: center;
    justify-content: center;

}
.footer-menu ul {
    margin-top: 10px;
	margin-bottom: 10px;
  }
  
.site-footer {
    padding: 20px 0 0 0;
    width: 100%;
  }
  
    }
.copy {
  font-size: 14px;
  padding-bottom: 20px;
}
@media (max-width: 768px) {
.copy {
  padding-bottom: 20px;
}
   }

.admintotalfiles {
  margin-bottom: 22px;
  font-size: 12px;
}
.totalfiles {
font-size: 11px;
color: #999;
}
.inua {
font-size: 12px;
color: #b0b0b0;
}

@media screen and (max-width: 767px) {
.form-container {
  margin-bottom: 20px !important;
}
}
/* Стили для блока партнеров */
.partners-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.partner-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f8fafc;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-info {
    padding: 20px;
    text-align: left;
}

.partner-info h3 {
    margin: 15px 0;
    font-size: 1.2rem;
    color: #718096;
    font-weight: 600;
}

.partner-info h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.partner-info h3 a:hover {
    color: #0071e3;
    text-decoration: underline;
}

.partner-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}
.partner-card a {
    text-decoration: none;
}

@media (max-width: 768px) {
    .partners-section {
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    
    .partner-card {
        width: 100%;
        max-width: 350px;
    }
}

.hero-rek {
  background: rgba(236, 236, 236, 0.3);
  border-radius: 50px;
  padding: 15px 30px;
  display: inline-block;
  margin: 20px 0;
}
.hero-rek p {
  color: #666;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}
@media (max-width: 768px) {
  .hero-rek {
    padding: 10px 15px;
    margin: 10px 0;
  }
    .hero-rek p {
    color: #666;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
  }
}

.guestnoreg {font-size: 12px;text-align: right;color: #667488 !important;}

/* Базовые стили для хедера */

/* Дополнительные стили для предотвращения прыжков */
header {
    transform: translateZ(0); /* Форсируем аппаратное ускорение */
    backface-visibility: hidden;
    perspective: 1000px;
    will-change: height; /* Подсказка браузеру для оптимизации */
}


/* Стили для фиксированного хедера при прокрутке */
header.scrolled {
    height: 60px !important;
}

header.scrolled .header-content {
        padding: 0 15px;
        height: 60px;
    }
header.scrolled logo img {
    height: 60px !important;
    width: auto !important;
}

/* Компенсация отступов для контента при фиксированном хедере */
.content-wrapper {
    transition: padding-top 0.3s ease;
}

body {
    transition: padding-top 0.3s ease;
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
    header.scrolled {
        height: 60px !important;
    }
	
	header.scrolled .header-content {
        padding: 0 15px;
        height: 60px;
    }
    
  
    header.scrolled logo img {
        height: 60px !important;
        width: auto !important;
    }
    

	 header.scrolled .main-nav {
    top: 60px !important;
	border-top: 1px solid #e2e8f0;
	height: calc(100vh) !important;
  }
  
   header.scrolled .modal-body {
    height: 60px !important;
  }
    
}

/* Дополнительные стили для плавного перехода */
.header-content {
    transition: padding 0.3s ease;
}

logo img {
    transition: height 0.3s ease, width 0.3s ease;
}

.official-notification {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin: 30px auto;
    max-width: 800px;
}

.notification-header {
    margin-bottom: 20px;
}

.notification-header h3 {
    color: #4a5568;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.notification-header i {
    color: #0071e3;
    margin-right: 10px;
}

.notification-content {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

.notification-content p {
    margin-bottom: 15px;
}

.notification-content strong {
    color: #2d3748;
    font-weight: 600;
}

.violation-list {
    padding-left: 20px;
    margin: 15px 0;
}

.violation-list li {
    margin-bottom: 8px;
    position: relative;
}

.violation-list li:before {
    content: "•";
    color: #0071e3;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.link {
    color: #0071e3;
    text-decoration: underline;
    font-weight: 500;
}

.link:hover {
    color: #0056b3;
}

@media (max-width: 768px) {
    .official-notification {
        padding: 20px;
        margin: 20px;
    }
    
    .notification-header h3 {
        font-size: 1rem;
    }
    
    .notification-content {
        font-size: 0.85rem;
    }
}