/* General */

html,
body {
  height: 100%;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f6fa;
  font-family: "Montserrat", Arial, sans-serif;
}
main {
  flex: 1 0 auto;
}
footer {
  flex-shrink: 0;
}
/* Navbar */
.navbar-custom {
  background: linear-gradient(90deg, #4e54c8 0%, #8f94fb 100%);
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.7rem;
  letter-spacing: 2px;
  color: #fff !important;
}

.nav-link {
  color: #fff !important;
  margin-right: 10px;
  transition: color 0.2s, background 0.2s;
  border-radius: 4px;
}

.nav-link.active,
.nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffe082 !important;
}

.btn-signup {
  background: #ffe082;
  color: #4e54c8;
  font-weight: 600;
  border-radius: 20px;
  padding: 6px 20px;
  margin-left: 15px;
  transition: background 0.2s, color 0.2s;
}

.btn-signup:hover {
  background: #fff;
  color: #4e54c8;
}



/* Table */
#domain-table,
#domain-table th,
#domain-table td,
#domain-table tbody,
#domain-table thead {
  font-family: "Montserrat", Arial, sans-serif;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f0f4ff;
}

.table-primary th {
  background: linear-gradient(90deg, #4e54c8 0%, #8f94fb 100%);
  color: #fff;
  border: none;
}

.table-bordered th,
.table-bordered td {
  border-color: #bfc9e1;
}

/* Cards */
.card {
  border-radius: 1rem;
  box-shadow: 0 2px 12px 0 rgba(78, 84, 200, 0.08);
  border: none;
  /* transition: transform 0.15s, box-shadow 0.15s; */
}

/* .card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 6px 24px 0 rgba(78, 84, 200, 0.18);
} */

.card-title {
  font-weight: 600;
  color: #4e54c8;
}

.card-text strong {
  color: #27ae60;
}

.card .btn-success {
  background: linear-gradient(90deg, #4e54c8 0%, #27ae60 100%);
  border: none;
}

/* .card .btn-success:hover {
  background: linear-gradient(90deg, #27ae60 0%, #4e54c8 100%);
} */

/* Horizontal Scroller */
.d-flex.flex-row.overflow-auto {
  scrollbar-width: thin;
  scrollbar-color: #f15a34 #f5f6fa;
  padding-bottom: 10px;
}

.d-flex.flex-row.overflow-auto::-webkit-scrollbar {
  height: 8px;
}

.d-flex.flex-row.overflow-auto::-webkit-scrollbar-thumb {
  background: #f15a34;
  border-radius: 4px;
}

.d-flex.flex-row.overflow-auto::-webkit-scrollbar-track {
  background: #f5f6fa;
}
/* For Chrome, Edge, Safari */
.scrollable-element::-webkit-scrollbar {
  height: 16px; /* horizontal */
  width: 16px; /* vertical */
}

/* Form Floating */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  opacity: 1;
  transform: scale(0.85) translateY(-1.5rem) translateX(0.15rem);
  color: #4e54c8;
}

/* Badges */
.badge.bg-info.text-dark {
  font-size: 1rem;
  padding: 0.6em 1.2em;
  border-radius: 1.2em;
  background: linear-gradient(90deg, #8f94fb 0%, #ffe082 100%);
  color: #333 !important;
}

/* Footer */
footer.bg-primary {
  background: linear-gradient(90deg, #4e54c8 0%, #8f94fb 100%) !important;
  font-size: 1rem;
}

footer h5,
footer h6 {
  color: #ffe082;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

footer a:hover {
  color: #ffe082;
  text-decoration: none;
}

@media print {
    body * {
        visibility: hidden; /* Hide everything */
    }
    #print-section, #print-section * {
        visibility: visible; /* Show only the print section */
    }
    #print-section {
        position: absolute; /* Ensure proper alignment */
        top: 0;
        left: 0;
    }
}
