.topnav {
  overflow: hidden;
  background-image: none;
  width:100%;
        }

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-image: url('../img/yellow_pix.png');
  color: #141200;
}


.topnav .icon {
  display: none;
}

@media screen and (max-width: 1050px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 1050px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

}

.btn-success {
    color: #fff;
    background-color: #2871c2!important;
    border-color: #002851!important;
    }

    /* === Dashboard === */
.profile-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* === Navbar === */
.topnav a.active {
  background: #0d6efd;
  color: #fff;
}

.page_content {
  min-height: 45vh;
}

.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  animation: fadeIn 0.4s ease-in-out;
  box-shadow: 0 0 3px rgba(0,0,0,0.08);
}

.badge-success {
  background-color: #28a745;
  color: white;
}

.badge-danger {
  background-color: #dc3545;
  color: white;
}

.badge-warning {
  background-color: #ffc107;
  color: #000;
}

.badge-secondary {
  background-color: #6c757d;
  color: white;
}

.badge-info {
  background-color: #17a2b8;
  color: white;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Customize hover color for table rows */
.table-hover tbody tr:hover {
  background-color: #eaf6ff !important; /* Light blue (you can change this) */
  transition: background-color 0.3s ease-in-out;
}

/* Optional: prevent red background if you have alternate styling */
.table tbody tr {
  background-color: #ffffff; /* default row color */
}

.notice {
    background-image: none;
    color: #0066aa;
    font-size: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 30px;
    border-top-style: solid;
    border-top-color: #eff0f2;
}

.trans-id-badge {
  background-color: #212529;
  color: #fff;
  padding: 5px 12px;
  font-size: 0.85rem;
  border-radius: 999px;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.trans-id-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px #17a2b8;
}

.type-badge {
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  font-size: 0.8rem;
  display: inline-block;
  transition: transform 0.3s ease;
}
.type-dr {
  background-color: #dc3545;
}
.type-cr {
  background-color: #28a745;
}
.type-badge:hover {
  transform: scale(1.1);
}


.modern-btn {
    border: 2px solid;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    min-width: 220px;
  }

  .blue-btn {
    border-color: #007bff;
    color: #007bff;
    background-color: transparent;
  }

  .blue-btn:hover {
    background-color: #007bff;
    color: white;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
  }

  .green-btn {
    border-color: #28a745;
    color: #28a745;
    background-color: transparent;
  }

  .green-btn:hover {
    background-color: #28a745;
    color: white;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
  }

  .modern-btn i {
    margin-right: 8px;
  }

  @media (max-width: 576px) {
    .modern-btn {
      min-width: 100%;
    }
  }


  /*Profile section*/
.modern-info-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #fff;
  /*border: 1px solid #dee2e6;*/
  padding: 20px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  box-shadow: none; /* No shadow by default */
}

.modern-info-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 123, 255, 0.12);
  border-color: #0d6efd;
}

.modern-info-box .icon {
  font-size: 28px;
  margin-top: 3px;
}

.modern-info-box h5 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2d3d;
  margin-bottom: 4px;
}

.modern-info-box p {
  font-size: 17px;
  margin: 0;
  color: #444;
}

/* Copied Badge */
.copy-alert {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 12px;
  background: #198754;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  display: none;
  animation: fadeInOut 1.5s ease-in-out;
  z-index: 1;
}

.rounded-circle {
    transition: transform 0.3s ease;
  }
  .rounded-circle:hover {
    transform: scale(1.05);
  }

/* Animation for copied badge */
@keyframes fadeInOut {
  0%   { opacity: 0; transform: scale(0.95); }
  10%  { opacity: 1; transform: scale(1); }
  80%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.95); }
}


.nycei-dropdown {
  position: relative;
  display: inline-block;
}

.nycei-dropdown-btn {
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  width: 100%;
}

.nycei-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: #ffffff;
  min-width: 180px;
  border: 1px solid #ccc;
  border-radius: 4px;
  z-index: 9999;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.15);
  padding: 5px 0;
}

.nycei-dropdown-content a {
  padding: 10px 15px;
  display: block;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.nycei-dropdown-content a:hover {
  background-color: #f5f5f5;
}

.nycei-dropdown:hover .nycei-dropdown-content {
  display: block;
}

tr:hover {
    /* background-image: url(../img/red_pix.png); */
    /* color: white; */
    background-image: none;
    color: black;
}

/* NYCEI Filter Styles */
.nycei-filter-form {
  background: #ffffff;
  border-left: 5px solid #007bff;
}

.nycei-label {
  color: #333;
}

.nycei-input,
.nycei-select {
  border-radius: 0.25rem;
  border-color: #ced4da;
  transition: border-color 0.3s ease-in-out;
}

.nycei-input:focus,
.nycei-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.25);
}

.nycei-btn {
  min-width: 140px;
}
