.text-secondary {
    font-size: 15px !important;
}

.text-dark {
    font-size: 15px !important;
}

.nav-item {
    padding: 20px;
}

.nav-link {
    border-radius: 30px;
    padding: 5px 15px;
}

.nav-link:hover {
    background: #007bff;
    color: #fff;
}

.navbar-nav .nav-link.active {
    background: #007bff;
    color: #fff;
}

/* Styles for the overlay background */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Adjust opacity here */
    z-index: 1000;
}

/* Styles for the loader */
.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    z-index: 1001;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.avatar {
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: auto; /* Center the image horizontally */
}

.avatar-block-view {
    width: 30px;
    margin: 0 10px;
}

.card-text-blockview {
    width: 80%;
    margin-bottom: -4px;
}

/* Center the search box */
.centered-search {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Optional: Adjust search box style */
.search-box {
    max-width: 400px;
    width: 100%;
}

.card {
    min-height: 90px;
}

.parameters_table_heading {
    font-size: 20px;
}

.custom-border {
    border: 1px solid #ced4da;
    border-radius: 10px;
    padding: 20px;
}

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: none; /* Initially hide the loader */
}
  
.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tools-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30vh;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
}

.rpc_indexer_checker_button {
    padding: 25px;
}

.block_checker_button {
    padding: 25px;
    width: 105%;
}

.highlight-wrapper {
    display: block;
}

.highlight {
position: relative;
z-index: 0;
padding: 0;
margin: 0;
border-radius: 4px;
}

.highlight > .chroma {
color: #d0d0d0;
background-color: #212121;
position: static;
z-index: 1;
border-radius: 4px;
padding: 10px;
overflow: auto; /* Ensure content overflow is handled */
box-sizing: border-box; /* Ensure box-sizing is set */
}

.chroma {
    overflow: auto;
}

.nav-tabs {
    border-bottom: 2px solid #dee2e6; /* Set the color and thickness of the line */
    width: fit-content; /* Ensure the width of the line matches the content */
    margin: 0 auto; /* Center the nav-tabs */
}

#hash_text {
    font-size: 14px;
}