.container.domain-details h4, .container.dns-details h4, .container.ip-details h4 {
    color: brown;
}
.container.domain-details table, .container.dns-details table, .container.ip-details table {
    background-color: #fcf8e3;
}

.container.dns-details th, .container.ip-details th {
    background-color: coral;
}

header, .row h1 {
    padding-bottom: 20px;
}

img.logo {
    max-height: 80px;
}

.nav ul.dropdown-menu li a { 
    text-align: left;
}

.shot-item {
    padding-bottom: 20px;
    height: auto;
    overflow: hidden; /* Hide any content that overflows the container */
    word-wrap: break-word;
}

.shot-item:hover {
    background-color: #f7f5f0;
}

.color-green {
    color: #7FFF7F;
}
.color-red {
    color: #FF7F7F;
}
.color-blue {
    color: blue;
}
.color-yellow {
    color: yellow;
}
.color-black {
    color: black;
}
.color-dark-green {
    color: rgb(8, 136, 8);
}
.color-dark-red {
    color: rgb(143, 4, 4);
}
.color-dark-blue {
    color: rgb(4, 4, 157);

    
}
.color-dark-yellow {
    color: rgb(176, 176, 1);
}


.divider {
    margin-top: 80px;
    height: 3rem;
    background-color: rgba(102, 204, 153, 0.5); /* Greenish color */
    
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, .1), inset 0 0.125em 0.5em rgba(0, 0, 0, .15);
}
.nepseContainer {
    display: flex;
    justify-content: flex-end; 
    flex-wrap: wrap;
}
.demandSupply {
    width: 100%;
    background-color: #4d4d4d;
    margin-bottom: 10px; 
    font-size: 11px;
}
.supply .label {
    color: red;
}
.demand .label {
    color: green;
}
.nepseIndex, .nepseSummary {
    color: blue;
    text-align: right;
    /*display: inline-block;*/
    margin-bottom: 20px;
    margin-left: 10px;
}
.nepseTopScripts a {
    font-size: 11px;
    color: green;
    text-decoration: none;
}
.nepseIndex {
    min-width: 100px;
}
.nepseSummary {
    color: #000;
}
.negative {
    color: red;
}
.positive {
    color: green;
}
.nepseSummary .d-flex div > div {
    display: inline-block;
}
.livemarket__adv--wrap {
    background: #d3d3d3;
    margin-right: 15px;
}
.livemarket__adv--wrap>div {
    display: inline-block;
    vertical-align: middle;
    padding: 7px 15px;
    font-weight: 600;
    font-size: 13px;
    border-right: 1px solid #959595;
}
#example tr[script] td:nth-child(1) {
    width: 95px;
}
#example_length {
    padding-right: 15px;
}
.toggle-icons {
    cursor: pointer;
    color: gold;
}
.toggle-icons.fa-solid {
    color: green;
}
#buy_sell_filter, #script_filter {
    padding: 5px 10px;
}

.admin .divider {
    background-color: rgba(0, 0, 0, .1);
}

.container .col-md {
    padding-top: 15px;
    padding-bottom: 10px;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav i.fa-solid, .nav i.fa-regular {
    font-size: 25px;
    display: block;
}
.nav li a {
    text-align: center;
}
.fa-maxcdn {
    font-size: 50px;
}
table#example thead th {
    background-color: #3b3c3d;
    color: #FFF;
}

table.live-data {
    border: solid #444 2px;
    padding: 8px;
}

table.live-data tr:first-child td {
    text-align: center;
}

.tooltip-script {
    text-align: center;
    width: 100%;
    font-size: 20px;
    color: #F5F5DC;
}

/* Styled table */
.live-data {
    width: 100%;
    border-collapse: collapse;
  }

  .live-data th,
  .live-data td {
    padding: 8px;
    border-bottom: 1px solid #444; /* Darker grey border */
  }

  .live-data th {
    background-color: #555; /* Darker grey background for headers */
    color: #fff; /* White text color for headers */
  }

  .live-data tbody tr:nth-child(even) {
    background-color: #444; /* Even row background color */
  }

  .live-data tbody tr:hover {
    background-color: #666; /* Hover row background color */
  }

  table.live-data.info tr:first-child td {
    text-align: left;
    vertical-align: top;
  }

  

  .tooltip-container {
    position: relative;
    display: inline-block;
  }
  
  .tooltip {
    position: relative;
    cursor: pointer;
  }
  
  .tooltip:before {
    content: attr(data-tooltip);
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 999;
  }
  
  .tooltip:hover:before {
    visibility: visible;
    opacity: 1;
  }  

@media (max-width: 640px) {
    .livemarket__adv--wrap div.market-summary-detail:nth-child(2) {
        display: none;
    }
}

@media (max-width: 767px) {
    table.table-bordered {
        font-size: 13px;
    }
    #detailHolder pre {
        font-size: .720em;
    }
}

@media (max-width: 785px) {
    .livemarket__adv--wrap div.market-summary-detail:nth-child(3) {
        display: none;
    }
}

@media (max-width: 991px) {
    table.live-data {
        font-size: 11px;
    }
    .tooltip-script {
        font-size: 15px;
    }
    .container, #example {
        font-size: 12px;
    }
    .livemarket__adv--wrap>div {
        font-size: 10px;
    }
}

@media (max-width: 1000px) {
    
}

@media (max-width: 1065px) { 
    .container, #example {
        font-size: 13px;
    }
    .livemarket__adv--wrap>div {
        font-size: 11px;
    }
    .livemarket__adv--wrap div.market-summary-detail:nth-child(4) {
        display: none;
    }
}

/* Custom CSS */
@media (max-width: 1400px) {
    .container {
      width: 100%;
      max-width: none;
    }
}



/* Overlay style */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup style */
.popup {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 60%;
    max-width: 90%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
}

.popup h2 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.popup textarea {
    width: 100%;
    height: 350px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
    margin-bottom: 20px;
}

.popup button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-right: 10px;
}

.popup button:hover {
    background: #0056b3;
}

.popup .close-btn {
    background: #ccc;
    color: #333;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    border: none;
    padding: 0;
}

.popup .close-btn:hover {
    background: #999;
}