/* This file is reserved for overriding and extending the template styles. */

/* custom.css (make sure this loads after Bootstrap’s CSS) */

  .bg-primary-custom-overlay {
    background-color: rgba(30, 60, 114, 0.03);
  }

  .step-circle-active,
.step-circle-inactive {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14px;
}

.step-circle-active {
  border: 2px solid #0d6efd; /* Bootstrap primary */
  color: #0d6efd;
  background-color: white;
}

.step-circle-inactive {
  border: 2px solid #ced4da; /* Bootstrap secondary border */
  color: #adb5bd; /* Light text */
  background-color: white;
}

.left-panel {
  position: relative;
}
.left-panel::after {
  content: '';
  pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4rem;               /* height of the gradient */
  background: linear-gradient(
    rgba(255,255,255,0),
    rgba(255,255,255,1)
  );
}

.numeric-spinner .form-control {
  border-right: 0;
}

.numeric-spinner .btn-group .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  width: 2.5rem; /* match control height */
  padding: 0;
  line-height: 1;
}

.numeric-spinner .btn-group {
  display: flex;
  flex-direction: column;
}

.no-card,
.no-card .card {
  background-color: transparent !important;
  border:             none          !important;
  box-shadow:         none          !important;
}

.sidebar-divider {
  border: 0;
  border-top: 1px solid #fff;
  margin: 0;
  width: 100%;
}

.rotate-180 { transform: rotate(180deg); }

/* hide all buttons by default */
.custom-card .button-col {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

/* reveal on hover */
.custom-card:hover .button-col {
  opacity: 1;
  pointer-events: auto;
}

/* make underline pop a bit */
.nav-underline .nav-link {
  border-bottom: .125rem solid transparent; /* ensure baseline */
}
.nav-underline .nav-link.active {
  border-bottom-color: currentColor !important;
  border-bottom-width: .2rem; /* e.g., 3.2px */
}

.dotted-custom {
  outline: 2px dotted #9aa4b2;
  outline-offset: 2px;
}

/* force 50/50 columns */
.config-table {
  table-layout: fixed;
  width: 100%;
}

.config-table thead th:nth-child(1),
.config-table tbody td:nth-child(1) {
  width: 50%;
}

.config-table thead th:nth-child(2),
.config-table tbody td:nth-child(2) {
  width: 50%;
}

/* allow wrapping in the value column */
.config-value-cell {
  white-space: normal;
  overflow-wrap: break-word; /* or "anywhere" if you want more aggressive */
}

/* flex container in the value cell should be allowed to wrap */
.value-flex {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;      /* <— this stops the overflow */
  min-width: 0;         /* let it shrink within the cell */
}

.config-description {
  white-space: normal;     /* allow wrapping */
  overflow: visible;
  text-overflow: clip;     /* or just remove this line */
}




.hosting-dashboard .plan-card-gradient {
  background: linear-gradient(135deg, #6c5ce7, #0984e3);
  color: #fff;
}

.hosting-dashboard .plan-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hosting-dashboard .usage-gauge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hosting-dashboard .usage-value {
  font-weight: 700;
  font-size: 1.25rem;
}

.hosting-dashboard .security-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #f1f3ff;
  color: #4c6fff;
}

.hosting-dashboard .shortcut-item {
  border: 1px solid #e9ecef;
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.5rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.1s ease;
}

.hosting-dashboard .shortcut-item:hover {
  box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.hosting-dashboard .shortcut-icon {
  width: 26px;
  height: 26px;
  border-radius: 0.75rem;
  background: #f8f9fa;
  font-size: 0.9rem;
}
