
textarea.form-control {
  height: auto;
  border: 2px solid #ffc107;
  background: #fff8e1;
  height: 98px;
}
.bg-gradient-primary {
    background: linear-gradient(45deg, #007bff, #00b4ff);
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3) !important;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.modal-content {
    transition: all 0.3s ease;
}


/* Модальные окна */
.modal-content {
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}


.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px; /* Отступ между строками */
}

.form-row label {
    flex: 0 0 100px; /* Задать фиксированную ширину метки */
    margin-right: 10px; /* Отступ справа от метки */
    text-align: left; /* Выровнять текст метки по правому краю */
}

.form-row .form-control {
    flex: 1; /* Задать полю ввода гибкую ширину */
}


.scrollable-table-container {
  ..max-height: 500px;
	max-height: calc(90vh - 167px);
  
  overflow-y: auto;
  overflow-x: auto;
  width: 100%;
  border: 1px solid #ddd;
  padding: 10px;
  background-color: #f9f9f9;
}
.instructionPantum {
    background-color: #fff;
  border: 1px solid #bbb;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 5px auto;
    font-family: Arial, sans-serif;
}

.instruction-image {
    text-align: center;
    margin-bottom: 20px;
}

.instruction-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.instruction-image img:hover {
    transform: scale(1.05);
}

.instruction-steps {
    font-size: 1em;
    color: #333;
}

.step {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #d9d9d9;
    border-radius: 4px;
    border-left: 4px solid #28a745;
}

.highlight {
    font-weight: bold;
    color: #28a745;
}

.payment-method {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 850px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.payment-title {
    font-weight: bold;
    color: #28a745; /* Зелёный цвет заголовка */
    margin-bottom: 15px;
    font-size: 1.25em;
}

.payment-address {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.wallet {
    font-weight: bold;
    color: #fff;
    background-color: #fb91b4;
    padding: 5px 10px;
    border-radius: 4px;
    user-select: all; /* Возможность легко скопировать адрес */
}

.payment-confirmation {
    font-size: 1em;
    margin-top: 15px;
}

.email-link {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

.email-link:hover {
    text-decoration: underline;
}

nav {
    white-space: nowrap; /* Предотвращает переносы на новую строку */
    padding-left: 20px;
  padding-right: 20px;
  white-space: nowrap;
}

.site-title {
    display: inline-block; /* Удерживает элемент на одной строке */
    vertical-align: middle; /* Выровняет элемент по вертикали со ссылками в nav */
}


/* General Styles */
#language-dropdown {
    background-color: #2f5379;
    color: #fff;
    border: none;
    padding: 5px;
    font-size: 1em;
    cursor: pointer;
    appearance: none;
    background-image: url('../icon/ru.png'); /* Default icon */
    background-repeat: no-repeat;
    background-position: 10px center;
    padding-left: 40px; /* Space for the icon */
    border-radius: 5px; /* Rounded corners */
}

#language-dropdown option {
    background-color: #2f5379;
    color: #fff;
    padding: 5px;
    font-size: 1em;
    background-repeat: no-repeat;
    padding-left: 40px; /* Space for the icon */
}

#language-dropdown option[value="../index.php"] {
    background-image: url('../icon/ru.png');
}

#language-dropdown option[value="../index.php?lang=en"] {
    background-image: url('../icon/english.png');
}

/* Mobile Styles */
/* Mobile Styles */
@media (max-width: 768px) {
    
    .lang-switcher {
        width: auto; /* Adjust the width as needed */
        position: fixed;
        top: 10px; /* Adjust the top margin if needed */
        right: 10px; /* Adjust the right margin if needed */
        z-index: 1000; /* Ensures it stays above other elements */
    }

    #language-dropdown {
        width: 100%;
        background-position: 15px center; /* Adjusted for smaller screens */
        padding-left: 50px;
    }
}




.pricing {
    border: 2px solid #003566;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    ..max-width: 400px;
    margin: 0 auto;
}

.pricing h5 {
    font-weight: bold;
    color: #003566;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.pricing ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.pricing li {
    margin-bottom: 5px;
}

.price-block {
    border: 1px solid #003566;
    padding: 5px;
    border-radius: 3px;
    background-color: #f8f9fa;
}

.price-type {
    font-weight: bold;
}

.price-amount {
    color: green;
    font-weight: bold;
}

.models-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.models-list li {
    background-color: #e9ecef;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    border: 1px solid #003566;
}


//////////////////////

.scrollable-table-container {
        max-height: 500px; /* Отрегулируйте эту высоту по мере необходимости */
        overflow-y: auto;
    }

    .scrollable-table-container table {
        margin-bottom: 0;
    }


@media (min-width: 768px)
.col-md-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 90.666667%;
    max-width: 90.666667%;
}


.inactive a {
    pointer-events: none; /* Отключает возможность клика */
    cursor: default; /* Меняет курсор на обычный */
    color: #c1c1c1; /* Делает текст серым, чтобы показать неактивность */
    text-decoration: none; /* Убирает подчеркивание */
}

.inactive a:hover {
    color: gray; /* Убирает эффект hover */
    text-decoration: none; /* Убирает подчеркивание при hover */
}

.site-title h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: bold;
}


footer#Contact-content {
        background-color: #2f5379; 
        color: #ecf0f1; 
        padding: 5px;
    }

    footer#Contact-content .container {
        display: flex;
        justify-content: space-between; 
        align-items: center; 
        max-width: 1200px; 
        margin: 0 auto; 
        flex-wrap: wrap; 
    }

    footer#Contact-content .contact-item {
        flex: 1; 
        text-align: center;
        margin: 10px;
    }

    footer#Contact-content .contact-item.left {
        text-align: left;
    }

    footer#Contact-content .contact-item.right {
        text-align: right; 
    }

    footer#Contact-content p {
        margin: 0; 
      
    }

    footer#Contact-content a {
        color: #1abc9c; 
        text-decoration: none; 
    }

    footer#Contact-content a:hover {
        text-decoration: underline;
    }

    footer#Contact-content i {
        margin-right: 10px; 
    }

    @media (max-width: 768px) {
        footer#Contact-content .container {
            flex-direction: column; 
            align-items: flex-start; 
        }

        footer#Contact-content .contact-item {
            text-align: left; 
            margin: 5px 0; 
        }
    }

/* Стили для маленьких экранов */
@media (max-width: 768px) {
    .table {
        border: 0;
        width: 100%; /* Убедитесь, что таблица занимает всю доступную ширину */
        border-collapse: collapse; /* Убираем пробелы между ячейками */
    }

    .table thead {
        display: none; /* Скрываем заголовки таблицы */
    }

    .table tr {
        margin-bottom: 1rem; /* Отступ между блоками */
        display: block;
        border: 1px solid #ddd; /* Граница вокруг каждого блока */
        border-radius: 5px; /* Скругление углов */
        padding: 0.5rem; /* Отступы внутри блока */
        background-color: #f9f9f9; /* Лёгкий фон для каждого блока */
    }

    .table td {
        display: block;
        text-align: left; /* Выравнивание текста по левому краю */
        font-size: 0.75rem; /* Уменьшение размера шрифта */
        border-bottom: 1px dotted #ddd;
        padding: 0.625rem; /* Отступы внутри ячейки */
        overflow: hidden; /* Прятать текст, который выходит за пределы блока */
        text-overflow: ellipsis; /* Добавление многоточия при переполнении */
        white-space: nowrap; /* Запрещаем перенос текста на следующую строку */
    }

    .table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
        margin-right: 0.5rem; /* Отступ между меткой и значением */
    }

    .table td:last-child {
        border-bottom: 0; /* Убираем нижнюю границу у последней ячейки */
    }
}

/* Стили для ограничения количества отображаемых записей */
.table-container {
    ..max-height: 600px;
    overflow-y: auto;
	max-height: calc(90vh - 170px);
}

/* Set width of UserID Order column */
.user-id-order {
    width: 20%;
}

/* Стили для скрытия и показа содержимого */
.hidden-text {
    display: none;
}
.hidden-text.active {
    display: inline;
}

/* Стили для иконки */
.toggle-icon {
    cursor: pointer;
    color: #007bff;
    margin-left: 5px;
}


.carousel-control-next,
.carousel-control-prev {
  font-size: 5px;
  color: #ffffff;
}

.carousel-caption {
  font-size: 12px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.table td, .table th {
  padding: 0.25rem;
  text-align: center;
  
  border-top: 1px solid #dee2e6;
}

.table th {
  font-size: 12px;
  font-weight: bold;
  background-color: #1d2f45;
  color: white;
}

.table thead th {
  vertical-align: middle;
  border-bottom: 2px solid #dee2e6;
}

.table-bordered td, .table-bordered th {
  border: 1px solid #dee2e6;
}

.table-hover tbody tr:hover {
  background-color: #f5f5f5;
}

    
        .nav-tabs .nav-link {
            border: none;
            border-radius: 0.5rem 0.5rem 0 0;
            padding: 10px 20px;
            font-weight: bold;
        }
        .nav-tabs .nav-link.active {
            color: #ffffff;
            background-color: #2f5379;
        }
      
    

.table-responsive {
            overflow-x: auto;
        }
        @media (max-width: 767.98px) {
            .table-responsive table {
                font-size: 12px;
            }
            .table-responsive table th,
            .table-responsive table td {
                white-space: nowrap;
            }
        }
        .hidden-text {
            display: none;
        }
        .toggle-icon {
            cursor: pointer;
        }

.content-container {
        margin: 0 auto;
        background-color: #fff;
        border: 1px solid #ced4da;
        border-radius: 8px;
        padding: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

p {
  margin-top: 0;
  margin-bottom: 0.2rem;
}

.btn-primary {
  color: #fff;
  background-color: #457b9d;
  border-color: #457b9d;
  font-size: 12px;
}

.form-control {
  font-size: 13px;
}


a {
  color: #1d3557;
  text-decoration: none;
  background-color: transparent;
}

.modal-header {
  background-color: #457b9d;
  color: #fff;
  border-bottom: 1px solid #457b9d;
}

.modal-header .close {
  color: #fff;
  opacity: 1;
}

.modal-title {
  font-size: 18px;
}

.modal-content {
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-body {
  padding: 20px;
}

.instruction-content {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
  .instruction {
    display: none;
  }
}

.bold-red {
  font-weight: bold;
  color: #457b9d;
}

.container {
  margin-top: 0px;
}

.nav-tabs {
  border-bottom: none;
}

.nav-tabs .nav-item {
  margin-bottom: 0;
}

.tab-content {
  padding: 5px;
	..min-height: 400px;
}

.tab-pane {
  height: 100%;
}

.tab-content .container {
  padding-left: 0;
  padding-right: 0;
}

.tab-content .container > div {
  padding-left: 15px;
  padding-right: 15px;
}

.tab-content .container > div[id^="instruction"] {
  width: 100%;
}

.instruction-image {
  max-width: 310px;
  max-height: 130px;
  width: auto;
  height: auto;
}

@media (min-width: 992px) {
  .modal-lg, .modal-xl {
    max-width: 100%;
  }
}

.card-header:first-child {
  border-radius: calc(.25rem - 5px) calc(.25rem - 5px) 0 0;
}

.news-block {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 20px;
  margin-top: 20px;
}

.news-block h5 {
  font-weight: bold;
  color: #343a40;
}

.news-block ul {
  list-style-type: none;
  padding: 0;
}

.news-block ul li {
  margin-bottom: 10px;
}

.news-block ul li span {
  color: #457b9d;
}

.menu-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.menu-links a, .menu-links span {
  margin: 0 3px;
  color: #f2f2f2 !important;
}

a.text-primary:focus, a.text-primary:hover {
  color: #f2f2f2 !important;
}

@media (max-width: 768px) {
  .menu-links {
    justify-content: center;
    text-align: center;
  }

  .menu-links a, .menu-links span {
    display: block;
    margin: 5px 0;
  }
}

.site-title h2 {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #044066;
  border-radius: 8px;
}

.site-title h2:hover {
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); /* Stronger shadow on hover */
}

.badge-success {
  font-size: 13px;
}

.mt-5, .my-5 {
  margin-top: 0.4rem !important;
}

#Contact-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
	background-color:#2f5379;

  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #fff;
}

.contact-item {
  display: flex;
  align-items: center;
}

.contact-item i {
  margin-right: 8px;
}

.contact-item a {
  color: #457b9d;
  text-decoration: none;
}

.card-menu {
  background-color: #ffff;
}

.card-menu {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #2f5379;
  background-clip: border-box;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: .25rem;
  text-align: center;
  justify-content: space-between;
  align-items: center;
}

.card-body {
  padding: 1px;
  ..height: 100vh  !important;
}

.list-group {
  max-height: 450px;
  overflow-y: auto;
}

.list-group-item {
  border-radius: 0;
}

.bold-red {
  font-weight: bold;
  color: #f00;
}

body {
  font-size: 12px;
 ...background-color: #e8e8e8;
  background: url('/icon/fon.jpg');
  background-position: center top;
  font-family: verdana;
}

/* Основной контейнер для заголовка и меню */
.card-header {
    display: flex;
    justify-content: space-between; /* Распределение пространства между элементами */
    align-items: center; /* Выравнивание элементов по вертикали */
    padding: 5px;
    background-color: #2f5379;
    border-bottom: 1px solid #e0e0e0; /* Разделительная линия */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Тень */
	
}
		


/* Мобильные устройства */
@media (max-width: 768px) {
    .card-header {
        flex-direction: column; /* Располагаем элементы в колонку */
        align-items: flex-start; /* Выравнивание по левому краю */
    }

    .card-header nav {
        text-align: left; /* Выравнивание текста по левому краю */
        margin-top: 10px; /* Отступ сверху */
    }

    .card-header nav ul {
        display: block; /* Меню будет отображаться как блоки */
    }

    .card-header nav ul li {
        margin-left: 0; /* Убираем отступы между пунктами меню */
        margin-bottom: 10px; /* Отступ между пунктами меню */
    }
}

.card {
  background-color: #f5f5f5;
}

.cardForm {
  background-color: #eee;
  box-shadow: 0 0 10px #000000;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

nav li {
  display: inline-block;
  margin: 0;
  transition: all 0.3s;
  transform: skewX(-10deg);
}

nav a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  background-color: #267cb3;
  transition: all 0.3s;
}

nav a:hover {
  color: #fff;
  background-color: #1d3557;
}

nav span {
  display: block;
  transform: skewX(10deg);
}

nav a.disabled {
  color: #ccc;
  pointer-events: none;
  text-decoration: none;
  cursor: not-allowed;
}

@media (max-width: 500px) {
  nav a, nav span {
    font-size: 12px;
  }
}

nav li.active a {
  color: #fff;
  background-color: #464646;
}

.my-button {
  background-color: #00b58b;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
}

.my-button:hover {
  color: #fefeff;
  text-decoration: underline;
}

.instruction {
  background-color: #f1faee;
  border: 1px solid #ccc;
  padding: 10px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: 0;
  line-height: 1.2;
}

.cardOrder {
  box-shadow: 4px 4px 8px 2px rgba(0, 0, 0, 0.2);
  text-align: left;
  font-family: Arial, sans-serif;
  background-color: #457b9d;
  padding: 10px;
  ..max-width: 412px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: #fff;
}

.info-row {
  margin-bottom: 10px;
}

.info-label {
  font-weight: bold;
  display: inline-block;
  width: 150px;
}

.info-value {
  display: inline-block;
}



