.bg {
    /* The image used */
    background-image: url("404.jpg");

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    justify-content: center;
    align-items: center;
  }

#home_btn_404 {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

body {
    padding-bottom: 2rem; /* same as footer height */
    font-family: Verdana, sans-serif;
    /*font-size: 12px;   !* optional default size *!*/
}

.footer {
    font-family: Verdana, sans-serif;
    color: rgb(5, 30, 101);
    position: fixed;
    text-align: center;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2rem;                /* Height of the footer */
    line-height: 2rem;           /* Vertically center text */
    background-color: LightSteelBlue; /* use background-color instead of background for clarity */
    z-index: 1000;
}

.navLink
{
    font-family: Verdana, sans-serif;
    font-size:80%;
    font-weight: bold;
    color: rgb(5, 30, 101);
    margin-left: auto;
    margin-right: auto;
}

.dropdown-menu.show {
    z-index: 1050 !important;
}


.siesmic_sections {
    width: 100%;
    height: 100%
}

.spanned-col {
    background-color: #b0c4de;
    font-weight: bold;
    text-align: center;
}


/* Общий стиль для всех кастомных кнопок */
.custom-btn {
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* Кнопка добавления */
.add-btn {
    background-color: #4CAF50;
}
.add-btn:hover {
    background-color: #45a049;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px)
}

/* Кнопка сохранения */
.save-btn {
    background-color: #2196F3;
}
.save-btn:hover {
    background-color: #1976D2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px)
}

/* Кнопка скачивания — сделал отдельный цвет для наглядности */
.download-btn {
    background-color: #FF9800;
}
.download-btn:hover {
    background-color: #F57C00;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px)
}

/* Кнопка увеличения */
.zoom-btn {
    background-color: #6A8FBF;
}
.zoom-btn:hover {
    background-color: #5a74a0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px)
}

/* fixes  when the table dropdown doesn't drop down */
.Select-menu-outer {
  display: block !important;
}


/* Well Button;s Size */
.btn-xs {
    padding: 1px 1px;
    font-size: 19px;
    line-height: 1;
}
/* For screens ≥ 576px */
@media (min-width: 576px) {
    .btn-xs {
        padding: 1px 1px;
        font-size: 16px;
    }
}
/* For screens ≥ 768px */
@media (min-width: 768px) {
    .btn-xs {
        padding: 2px 2px;
        font-size: 13px;
    }
}
/* For screens ≥ 992px */
@media (min-width: 992px) {
    .btn-xs {
        padding: 2px 2px;
        font-size: 10px;
    }
}


.dropdown-container {
    display: flex;
    justify-content: space-between;
    gap: 2%;
}

/* Desktop */
.dropdown-box {
    width: 32%;
}

/* Mobile */
@media screen and (max-width: 768px) {
    .dropdown-container {
        flex-direction: column;
    }

    .dropdown-box {
        width: 100%;
        margin-bottom: 12px;
    }
}