/* ===== portal-skin-mobile.css ===== */
@media (max-width: 767px) {
  /* Logo size for mobile */
  header img.img-fluid {
    max-height: 60px !important; /* or whatever size feels right */
  }

  /* Hide desktop nav pieces */
  .navbar-expand-md .navbar-nav,
  .navbar-expand-md .navbar-brand {
    display: none !important;
  }

  /* Transparent base navbar */
  .navbar,
  .navbar.bg-light {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    height: 0;
    position: relative;
    box-shadow: none !important;
  }

.navbar-toggler {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1100;

    width: 40px !important;
    height: 40px !important;

    padding: 0 !important;
    border: 1px solid rgba(0,0,0,0.25) !important;
    border-radius: 6px !important;

    background: rgba(255,255,255,0.6) !important;
    backdrop-filter: blur(6px);
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);

    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.navbar-toggler-icon {
    width: 20px;
    height: 20px;
    background-image: none !important;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon div {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
    border-radius: 2px;
}

.navbar-toggler-icon::before {
    top: 4px;
}

.navbar-toggler-icon div {
    top: 9px;
}

.navbar-toggler-icon::after {
    top: 14px;
}

  /* Glass panel container */
  .navbar-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  #mainNavCollapse.collapse.show,
  .navbar-collapse.show {
    display: block !important;
    max-height: 100vh;
    position: fixed;
    top: calc(1rem + 48px);
    right: 1rem;
    left: auto !important;
    transform: none !important;
    width: auto;
    min-width: 350px;
    max-width: 80%;
    padding: 0.5rem 0;
    background: rgba(230, 230, 230, 0.7) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25) !important;
    z-index: 1050;
  }

  /* Stack & stretch nav items */
  #mainNavCollapse .navbar-nav,
  .navbar-collapse.show .navbar-nav {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
  }

  /* Links: bigger font, padded for LED, clip hover */
  #mainNavCollapse .nav-link {
    position: relative;
    display: block;
    font-size: 1.1rem !important;      /* larger mobile font */
    font-weight: 500;
    color: var(--text-color) !important;
    padding: 0.35rem 3.0rem !important;
    padding-right: 2.5rem !important;  /* room for LED */
    text-align: left !important;
    overflow: hidden !important;       /* clip the hover fill */
  }

  #mainNavCollapse .nav-link:hover::before,
  #mainNavCollapse .nav-link:focus::before {
    transform: scaleX(1);
  }

  /* LED divider on the right */
  #mainNavCollapse .nav-link::after {
    content: "";
    position: absolute;
    top: 25%;
    right: 1rem;
    width: 2px;
    height: 50%;
    background-color: var(--light-primary);
    transition: all 0.3s ease;
  }
  #mainNavCollapse .nav-item:last-child .nav-link::after {
    display: none;
  }

  /* LED glow on hover/focus */
  #mainNavCollapse .nav-link:hover::after,
  #mainNavCollapse .nav-link:focus::after {
    background-color: var(--primary-dark);
    top: 0;
    height: 100%;
    box-shadow:
      0 0 4px var(--primary-dark),
      0 0 10px var(--primary-dark);
  }
}
@media (max-width: 767px) {


  /* 1) Ensure link box clips hover background */
  #mainNavCollapse .nav-link {
    position: relative;
    overflow: hidden !important;
  }

  /* 2) Hover-fill stops exactly before the LED */
  #mainNavCollapse .nav-link::before {
    content: "";
    position: absolute;
    top: 0; 
    bottom: 0; 
    left: 0;
    right: 50;
    /* subtract 1rem (LED inset) + 2px (LED width) */
    width: calc(100% - (1rem + 2px));
    background-color: var(--light-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
  }
  #mainNavCollapse .nav-link:hover::before,
  #mainNavCollapse .nav-link:focus::before {
    transform: scaleX(1);
  }

  /* 1) Give the panel more vertical breathing room */
  #mainNavCollapse.collapse.show {
    padding: 1rem 0 !important;
  }

  /* 2) Space out each link for better tap targets */
  #mainNavCollapse .nav-link {
    margin: 0.75rem 0 !important;
  }

  /* 3) Animate hover-fill from the LED at right toward the left */
  #mainNavCollapse .nav-link::before {
    transform-origin: right !important;
  }

  /* blur everything when the menu is open */
  #mainNavCollapse.collapse.show ~ .page-body {
    filter: blur(6px) brightness(0.9);
    transition: filter 0.3s ease;
    pointer-events: none;    /* keep taps on the menu */
  }

  /* Reset nested ULs inside the collapsed menu */
  #mainNavCollapse .navbar-nav ul {
    list-style: none !important;   /* kill bullets */
    padding-left: 0 !important;    /* remove UA indents */
    margin-left: 0 !important;
  }

  /* Optional: normalize nested LIs for clean layout */
  #mainNavCollapse .navbar-nav ul > li {
    display: block;                 /* ensure full-width tap targets */
    margin: 0;                      /* no extra gaps from UA defaults */
    padding: 0;
  }

  /* Sub-item visual hierarchy */
  #mainNavCollapse .navbar-nav ul .nav-link {
    text-align: left !important;
    font-weight: 450;
    font-size: 1.1em !important;
    padding-left: 5.5rem !important;  /* clear, but still tidy */
    position: relative;
  }

  #mainNavCollapse .navbar-nav ul .nav-link::before {
    position: absolute;
    left: 0.75rem;
    color: #888;
    font-size: 0.55em;
    line-height: 1;
  }

/* ===== Mobbile Button adjustments ===== */
.btn,
button,
input[type="button"],
input[type="submit"],
a.btn {
  padding: 0.4rem 1.1rem;                  /* vertical/horizontal padding */
  margin: 0.5rem;
}
/* The “Delete” button inside the cart */
.btn-xs {
  padding: 0.35rem 0.45rem;
  background-color: var(--red) !important;   /* button background */
  color: var(--orange) !important;    /* button text */
  border-color: var(--red) !important;    /* button outline */
  font-size: 0.75rem;
  line-height: 0.15;
}
/* On-hover */
.btn-xs:hover {
  background-color: var(--orange) !important;
  color: var(--red) !important;           /* button text */
  border-color: var(--orange) !important;    /* button outline */
}
.plan-card {
  max-width: 90%; /* temporary per your request */
  width: 100%;
  display: flex;
  justify-content: center;
}

.plan-btn {
  width: 50%;
  padding: 0.55rem 0.75rem;
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;

  display: block;
  margin: 0.75rem auto 0;

  background: #6f6f6f !important;     /* medium grey */
  color: var(--white) !important;            /* white text for contrast */
  border: 1px solid var(--divider) !important;
  border-radius: 999px;
  box-shadow: none !important;
  text-align: center;
}


.wizard-login-overlay {
  position: relative;
  top: 2px;       	/* adjust vertically */
  left: 160px;      	/* adjust horizontally */
  margin-bottom: -20px; /* pull following content back up */
  width: 12%; 		/* Match tab width */
  min-width: 170px;
  height: 35px; 	/* rough guess: match tab height */
  z-index: 1000;  	/* sit above the tab */
}
.wizard-login-overlay .btn {
  line-height: 35px; /* vertically center text */
}
#wizard .actions {
  position: absolute;
  top: 191px;       /* adjust as needed */
  right: 40px;     /* adjust as needed */
  margin: 0;
  z-index: 1100;
}

/* MOBILE: hide number + location columns */
    .service-header-row .number,
    .service-header-row .location,
    .service-row .number,
    .service-row .location {
        display: none;
    }

    /* Make name + status breathe a little */
    .svc-col.name {
        flex: 3;
    }

    .svc-col.status {
        flex: 1.5;
    }


/* ===== Mobile Ticket adjustments ===== */
.ticket-message .meta {
    font-size: 1rem !important;
}

.ticket-message .body {
    font-size: 0.9rem !important;
}

.ticket-page .reply-card .card-title,
.ticket-page .reply-card label,
.ticket-page .reply-card button {
    font-size: 0.9rem !important;
}

    .ticket-page .ticket-main {
        width: 100% !important;
        max-width: none !important;
    }
    .ticket-page .reply-card .jqte {
        width: 155% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

/* Reduce Columns on mobile view for all Index lists. If important data is missing on one, this needs more attention This was focused on columns for the user->Index.blade */
    table.table td:nth-child(3),
    table.table th:nth-child(3) {
        display: none;
    }

    /* Street Address column */
    table.table td:nth-child(5),
    table.table th:nth-child(5) {
        display: none;
    }

/* ***********************************************Mobile store view************************** */
  /* 1) Stack add-ons + cart cleanly */
.addon-sidebar {
    max-width: 100% !important;
    margin: 0 0 1.5rem 0 !important;
    padding: 1rem !important;
  }

  .addon-line {
    display: grid !important;
    grid-template-columns: 1fr auto auto !important; /* name | price | button */
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .addon-name {
    font-size: 0.9rem !important;
  }

  .addon-price {
    font-size: 0.85rem !important;
  }

 /* Remove the feature column entirely */
  .plan-table .feature-cell {
    display: none !important;
  }

  /* Reduce the grid to only plan columns */
  .plan-table {
    grid-template-columns: repeat(var(--plan-count), 1fr) !important;
    overflow-x: hidden !important;
    border: none !important;
  }

  /* Shrink plan name headers */
  .plan-name h3 {
    font-size: 0.9rem !important;
    margin: 0 0 0.25rem 0 !important;
    line-height: 1.1 !important;
  }

  /* Shrink all plan cells */
  .plan-cell {
    font-size: 0.75rem !important;
    padding: 0.35rem 0.25rem !important;
    text-align: center !important;
  }

  /* Shrink description text further */
  .plan-cell[style] {
    font-size: 0.65rem !important;
  }

  /* CTA buttons */
  .plan-cta-row .plan-cell button {
    font-size: 0.75rem !important;
    padding: 0.4rem !important;
    width: 100% !important;
  }

  /* Reduce spacing above/below the table */
  .plan-table-wrapper {
    margin-top: 0.5rem !important;
  }

  /* Tighten headings */
  .store-heading {
    font-size: 1.2rem !important;
  }

  .store-subheading {
    font-size: 0.85rem !important;
  }

  /* Shrink all Add buttons in the plan table */
  .plan-cta-row .plan-cell button {
    font-size: 0.65rem !important;
    padding: 0.25rem 0.4rem !important;
    border-radius: 4px !important;
  }

  /* Shrink Add buttons in the add-on list */
  .addon-line button {
    justify-self: end !important; 
    font-size: 0.65rem !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 4px !important;
    flex: 0 0 auto !important;   /* don't grow */
    max-width: 90px !important;  /* or 80px, 100px, etc. */
    width: auto !important;      /* shrink to fit text */
    white-space: nowrap !important;
    align-self: center !important;  
    margin-top: 0 !important;       
  }


/* ===== Closing 768px adjustments ===== */
}


@media (max-width: 574px) {
    .ticket-page .reply-card .jqte {
        width: 104% !important;
        max-width: none !important;
        min-width: 0 !important;
    }
.ticket-page .reply-panel .info-card .card-body {
    padding-left: 0 !important;
    margin-left: 1px !important;
}
}