main {
    background-color: #f5f5f5;
}

.main-color-1 {
background-color: #11364d;
color: #fff;
}

.logo {
  width: 50px;
  height: auto;
  image-rendering: auto;
}

.nav-item .nav-link {
color: #fff;
padding: 10px 15px;
transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-item .nav-link:hover {
background-color: #0c293b;
}

/* Изменение активной кнопки */
.nav-item .nav-link.active {
background-color: #0069d9;  /* Синий фон для активной кнопки */
color: #fff;  /* Белый текст для активной кнопки */
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

/* Для кнопки поиска */
.nav-item form .form-control {
border-radius: 25px;  /* Скругление полей поиска */
border: 1px solid #555;  /* Темная граница */
}

.nav-item form .form-control:focus {
border-color: #ffcc00;  /* Желтая граница при фокусе */
box-shadow: 0 0 0 0.25rem rgba(255, 204, 0, 0.25);  /* Светящееся кольцо */
}

.message {
    background-color: #fae99d;
    color: #413f4d;
}

.social-icon {
transition: transform 0.2s ease;
}

.social-icon:hover {
transform: scale(1.1);
}

@media (min-width: 388px) {
    footer .mb-md-0 {
        margin-bottom: 0 !important;
    }
}



.ios-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}

.ios-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ios-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.ios-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .ios-slider {
    background-color: #0d6efd;
}

input:checked + .ios-slider:before {
    transform: translateX(18px);
}


.table-vgabios {
    font-size: 14px;
}

.table thead th:first-child {
  border-top-left-radius: 10px;
}

.table thead th:last-child {
  border-top-right-radius: 10px;
}

.form-check-label, .form-label, .form-select {
    font-size: 16px;
}

.frequency-label {
    display: inline-block;
    width: 40px;
}

.item-mem-size {
    display: inline-block;
    width: 75px;
}

.item-mem-type{
    display: inline-block;
    width: 65px;
}

.table-vgabios td .cardname {
font-size: 12px;
}

/* Прелоадер */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Спиннер */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #B0C4DE; /* Светлый цвет */
    border-top: 5px solid #3498db; /* Основной цвет */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Анимация вращения */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.blur-background {
    filter: blur(5px); /* Размытие контента страницы */
}

.filter-bios-ver {
    display: none;
}

input:checked + .slider-unverified {
    background-color: #FF8C00;
}

input:checked + .slider-damaged {
    background-color: #8B0000;
}

.hidden {
    display: none;
}


.bios-details {
    font-size: 12px;
    max-width: 600px;
}

.bios-details h3{
    font-size: 16px;
    padding: 10px
}


.bios-details-table td {
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.bios-details th {
    width: 1%;
    white-space: nowrap
}

.bios-other {
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
}

.bios-desc {
    word-wrap: break-word;
    white-space: normal;
}

.breadcrumb {
    font-size: 14px;
}


#drag-drop-container {
    border: 2px dashed #007bff;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

#drag-drop-container.drag-over {
    background-color: rgba(0, 123, 255, 0.1);
    border-color: #0056b3;
}

#choose-file-btn {
    margin-top: 20px;
}

#drag-drop-container small {
    font-size: 0.875rem;
}

#error-message {
    background-color: #f8d7da;
    color: #721c24;
    position: absolute; /* Сделаем абсолютное позиционирование */
    width: 100%;
    text-align: center;
    display: none; /* Изначально скрыто */
    padding: 0 10px; /* Начальное padding для анимации */
    box-sizing: border-box;
    opacity: 0; /* Начальная непрозрачность */
    max-height: 0; /* Начальная высота */
    overflow: hidden; /* Скрыть переполнение */
}

/* Анимация для появления ошибки */
@keyframes slideInDown {
    0% {
        max-height: 0; /* Начальная высота 0 */
        opacity: 0; /* Начальная непрозрачность */
        padding-top: 0; /* Начальный padding для верхней части */
        padding-bottom: 0; /* Начальный padding для нижней части */
    }
    100% {
        max-height: 200px; /* Устанавливаем максимальную высоту для анимации */
        opacity: 1; /* Полная непрозрачность */
        padding-top: 10px; /* Финальный padding для верхней части */
        padding-bottom: 10px; /* Финальный padding для нижней части */
    }
}

/* Анимация для исчезновения ошибки */
@keyframes slideOutUp {
    0% {
        max-height: 200px; /* Начальная максимальная высота */
        opacity: 1; /* Полная непрозрачность */
        padding-top: 10px; /* Начальный padding */
        padding-bottom: 10px; /* Начальный padding */
    }
    100% {
        max-height: 0; /* Конечная высота 0 */
        opacity: 0; /* Убираем непрозрачность */
        padding-top: 0; /* Убираем верхний padding */
        padding-bottom: 0; /* Убираем нижний padding */
    }
}


