/* ===== Desktop Skin Overrides ===== */

/* Core color variables (from your design reference) */
:root {
  --primary-dark:    #313F9F;
  --primary:         #3F51B5;
  --secondary:       #829AD7;
  --light-primary:   #C5CAEA;
  --button-active:   #122080;
  --accent:          #01A9F4;
  --orange:          #F99746;
  --green:           #166821;
  --red:             #C02B2E;
  --text-color:      #212121;
  --light-text:      #757575;
  --divider:         #D8D8D8;
  --white:           #FFFFFF;
}

.litewire-page #mainNavCollapse,
.litewire-page header.text-center {
    display: none !important;
}
/* Remove the space reserved for the fixed navbar */
.litewire-page nav.navbar {
    display: none !important;
}
.litewire-page {
    margin-top: 0 !important;
    padding-top: 20px;
}

.alert-danger {
    background: #fff8f8;
    border-left: 4px solid #d9534f;
    color: #7a2e2e;
    padding: 12px 15px;
    border-radius: 4px;
}


/* ===== Desktop: Top-Horizontal Menu ===== */
@media (min-width: 768px) {

  /* 1) Base fixed navbar */
  #mainNavCollapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-color: var(--white);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--divider);

    background: rgba(150, 150, 150, 0.10) !important; /* soft blue wash */
    border-bottom-color: rgba(249, 151, 70, 0.2);

    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 1040;
  }

  /* 2) Push page content below the bar */
  .main-content {
    margin-top: 60px; /* adjust to navbar height */
  }

  /* 3) Horizontal nav-items */
  #mainNavCollapse .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0 2rem;
  }

  #mainNavCollapse .nav-item {
    position: relative;
  }

  #mainNavCollapse .nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    transition: background-color 0.5s, color 0.5s;
  }

  #mainNavCollapse .nav-link:hover,
  #mainNavCollapse .nav-link:focus {
    background-color: var(--light-primary);
    color: var(--text-color);
  }

  /* 4) First-level dropdown panels */
  #mainNavCollapse .nav-item > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: var(--white);
    border: 1px solid var(--divider);
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1030;
    padding: 0.5rem 0;
  }

  #mainNavCollapse .nav-item:hover > ul,
  #mainNavCollapse .nav-item:focus-within > ul {
    display: block;
  }

  #mainNavCollapse .nav-item > ul .nav-link {
    padding: 0.5rem 1.25rem;
    white-space: nowrap;
  }

  /* 5) Nested (3rd-level) fly-out menus */
  #mainNavCollapse .nav-item > ul li {
    position: relative;
  }
  #mainNavCollapse .nav-item > ul li > ul {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 180px;
    background-color: var(--white);
    border: 1px solid var(--divider);
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }
  #mainNavCollapse .nav-item > ul li:hover > ul,
  #mainNavCollapse .nav-item > ul li:focus-within > ul {
    display: block;
  }

  /* 6) Active styling */
  #mainNavCollapse .nav-item.active > .nav-link {
    color: var(--button-active) !important;
  }
  #mainNavCollapse .nav-item.active > .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--button-active);
  }




 /* 0) Prepare links */
#mainNavCollapse .nav-link {
  position: relative;
  overflow: hidden;
  z-index: 0; /* establish stacking context */
}

/* 1) Bottom glow line */
#mainNavCollapse .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background-color: var(--button-active);
  box-shadow: 0 0 6px var(--button-active), 0 0 12px var(--button-active);
  transition: width 0.25s ease-out;
  z-index: 1;
}

/* 2) Fill layer */
#mainNavCollapse .nav-link::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0;
  background-color: var(--light-primary);
  transition: height 0.35s ease-in;
  z-index: -1;
}


/* 3) Hover/focus sequence */
#mainNavCollapse .nav-link:hover::after,
#mainNavCollapse .nav-link:focus::after {
  width: 100%; /* line grows first */
}

#mainNavCollapse .nav-link:hover::before,
#mainNavCollapse .nav-link:focus::before {
  height: 100%; /* then fill expands upward */
  transition-delay: 0.35s; /* wait until line is visible */
}

/* Keep text above fill */
#mainNavCollapse .nav-link > * {
  position: relative;
  z-index: 2;
}

/* 4) Keep text/icons above the fill */
#mainNavCollapse .nav-link > * {
  position: relative;
  z-index: 2;
}

/* 5) Active item: soft glow */
#mainNavCollapse .nav-item.active .nav-link {
  color: var(--button-active) !important;
  box-shadow: inset 0 -3px 40px rgba(49,63,159,0.05), /* subtle bottom glow */
              inset 0  3px 6px rgba(49,63,159,0.0); /* gentle top lift */
}

/* Remove default bullets from all nav ULs */
#mainNavCollapse .navbar-nav ul {
  list-style: none;   /* no dots */
  padding-left: 0;    /* reset browser padding */
  margin-left: 0;
}

/* Desktop: sub-items flush left with parent */
@media (min-width: 768px) {
  .navbar-nav ul .nav-item .nav-link {
    padding-left: 1rem; /* slight indent if you want */
    text-align: left;
  }
}
.ticket-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--button-active);
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}
.ticket-pulse {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #4caf50; /* green glow */
    border-radius: 50%;
    margin-left: 4px;
    position: relative;
    top: -5px; /* lift it slightly like an asterisk */
    animation: ticketPulse 2s ease-in-out infinite;
}

@keyframes ticketPulse {
    0% {
        box-shadow: 0 0 0px 0 rgba(76, 175, 80, 0.4);
    }
    50% {
        box-shadow: 0 0 6px 3px rgba(76, 175, 80, 0.8);
    }
    100% {
        box-shadow: 0 0 0px 0 rgba(76, 175, 80, 0.4);
    }
}/* -----END OF MENU CSS----- */

  header.text-center {
    position: relative;
    top: 1.4rem;    /* pushes header down */
  }
}

/* ===== System Message Callout ===== */
.jumbotron {
  position: relative;
  margin: 1.5rem auto;                    /* breathing room above/below */
  padding: 1.25rem 1.5rem;
  max-width: 800px;                        /* constrain for readability */
  background-color: rgba(255, 255, 255, 0.35); /* semi-transparent glass */
  backdrop-filter: blur(8px);              /* Safari / iOS */
  -webkit-backdrop-filter: blur(8px);      /* Chrome with flag */
  border-left: 6px solid var(--button-active);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  animation: fadeInDown 0.5s ease-out;
}

/* Add a little icon before the message text */
.jumbotron blockquote::before {
  content: "\f05a";                 /* “info-circle” in FA4 */
  font-family: "FontAwesome";       /* FA 4’s font-family */
  speak: none; 
  font-style: normal; 
  font-weight: normal; 
  font-variant: normal; 
  text-transform: none; 
  display: inline-block;
  line-height: 1;
  
  position: absolute; 
  left: 1rem; 
  top: 1.1rem;
  color: var(--button-active);
  font-size: 1.5rem;
  opacity: 0.85;
}

/* Space the text over to make room for icon */
.jumbotron blockquote {
  margin-left: 2.5rem;
  color: #242424;
}

/* Style the Dismiss button to match */
.jumbotron #dismiss {
  background:  var(--button-active);   /* blue fill */
  color: var(--button-active);
  border: 2px solid var(--button-active);
  border-radius: 60px;
  padding: 0.5rem 0.75rem;
  box-shadow: none;
  transition: background-color 0.2s, color 0.2s;
}

.jumbotron #dismiss:hover {
  background-color: var(--button-active);
  color: #fff;
}

/* Fade-in animation for entrance */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== Global CTA Button Style ===== */
.btn,
button,
input[type="button"],
input[type="submit"],
a.btn {
  background-color: var(--button-active);   /* blue fill */
  color: #ffffff !important;           	    /* white text */
  border: 3px solid var(--button-active);   /* orange outline */
  border-radius: 999px;                     /* pill shape */
  padding: 0.5rem 1.5rem;                  /* vertical/horizontal padding */
  margin: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: 
    background-color 0.3s ease, 
    color 0.3s ease, 
    border-color 0.3s ease;
  text-decoration: none;               /* for <a> elements */
}

/* Outline-on-hover */
.btn:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
a.btn:hover {
  background-color: transparent !important;
  color: var(--button-active) !important;           /* button text */
  border-color: var(--primary) !important;    /* button outline */
}

/* Store page — auto-wrapping grid of cards */
.store-grid {
  display: grid;
  grid-gap: 1rem;
  /* min card width of 280px, stretch to fill */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ========== Cart wrapper: full width on mobile, max 600px on desktop ===========*/
.store-cart-wrapper {
  width: 100% !important;
  max-width: 800px !important;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* The “Delete” button inside the cart */
.btn-xs {
  padding: 0.05rem 0.65rem;
  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 */
}

/* ======= Cart additional polish ======= */
.table {
  border-collapse: separate;
  border-spacing: 0 0.1rem; /* space between rows */
}

.table th,
.table td {
  border: none; /* remove default lines */
}
.table thead th {
  border-bottom: 2px solid #888 !important; /* strong header divider */
  padding-bottom: 0.4rem !important;
}

/* Only add a divider before the first row of each new cart-item group */
.cart-item + .cart-item tr:first-child td {
  position: relative;
}

.cart-item + .cart-item tr:first-child td::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0% !important;          /* indent from left */
  width: 100% !important;         /* line spans only 80% of table width */
  border-top: 1px solid #ccc !important;
}

.cart-item:first-of-type tr:first-child td {
  border-top: none;
}

/* Remove any borders from inner rows (like Installation) */
.cart-item tr + tr td {
  border-top: none;
}

/* Indent sub-rows like Installation */
.sub-row td:first-child {
  padding-left: 4.7rem;   /* adjust to taste */
  padding-bottom:0;
}

.amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.cart-view .table th:first-child,
.cart-view .table td:first-child {
  width: 70%;   /* give most space to the name */
}

.cart-view .table th.amount,
.cart-view .table td.amount {
  width: 30%;   /* keep amount narrow */
  text-align: right;
}

/* Header row divider */
.cart-header th {
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.4rem;
}

/* Divider before each plan row (shortened line) */
.cart-item + .cart-item tr:first-child td:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;          /* adjust inset */
  width: 70%;         /* adjust span */
  border-top: 1px solid #ccc;
}
tfoot td {
  font-weight: bold;
  border-top: 1px solid #444 !important;   /* double line for a clear end */
  padding-top: 0.6rem !important;
  background-color: #fbfbfb;     /* subtle background to set it apart */
}




/* Store page — auto-wrapping grid of cards */
.store-grid {
  display: grid;
  grid-gap: 1rem;
  /* min card width of 280px, stretch to fill */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ========== Cart wrapper: full width on mobile, max 600px on desktop ===========*/
.store-cart-wrapper {
  width: 100%;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  min-width: 380px;
}

/* The “Delete” button inside the cart */
.btn-xs {
  padding: 0.05rem 0.65rem;
  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 */
}

/* ======= Cart additional polish ======= */
.store-cart-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.store-cart-wrapper th,
.store-cart-wrapper td {
  padding: 0.5rem 0;
  border: none;
  font-size: 0.9rem;
  color: var(--text-color);
}

.store-cart-wrapper thead th {
  border-bottom: 2px solid #ccc;
  font-weight: 600;
}

.btn-xs {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 6px;
  background: var(--red) !important;
  color: var(--white) !important;
  border: none !important;
}

.btn-xs:hover {
  background: #a12224 !important;
}

.store-cart-wrapper input[type="submit"] {
  width: 220px;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 999px;
  background: #555;
  color: var(--white);
  border: none;
  display: block;
  margin: 1rem auto 0;
}

.store-cart-wrapper input[type="submit"]:hover {
  background: var(--button-active);
}

/* Only add a divider before the first row of each new cart-item group */
.cart-item + .cart-item tr:first-child td {
  position: relative;
}

.cart-item + .cart-item tr:first-child td::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0% !important;          /* indent from left */
  width: 100% !important;         /* line spans only 80% of table width */
  border-top: 1px solid #ccc !important;
}

.cart-item:first-of-type tr:first-child td {
  border-top: none;
}

/* Remove any borders from inner rows (like Installation) */
.cart-item tr + tr td {
  border-top: none;
}

/* Indent sub-rows like Installation */
.sub-row td:first-child {
  padding-left: 4.7rem;   /* adjust to taste */
  padding-bottom:0;
}

.amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
  line-height: 2.3;
}

.cart-view .table th:first-child,
.cart-view .table td:first-child {
  width: 70%;   /* give most space to the name */
}

.cart-view .table th.amount,
.cart-view .table td.amount {
  width: 30%;   /* keep amount narrow */
  text-align: right;
}

/* Header row divider */
.cart-header th {
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.4rem;
}

/* Divider before each plan row (shortened line) */
.cart-item + .cart-item tr:first-child td:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;          /* adjust inset */
  width: 70%;         /* adjust span */
  border-top: 1px solid #ccc;
}
tfoot td {
  font-weight: bold;
  border-top: 1px solid #444 !important;   /* double line for a clear end */
  padding-top: 0.6rem !important;
  background-color: #fbfbfb;     /* subtle background to set it apart */
}




/* ===== Store Card Polish ===== */

/* 1) Base card appearance */
.store-item .card {
  border: 1px solid #e2e2e2;            /* soft light border */
  border-radius: 8px;                  /* gentle rounding */
  background: #fdfdfd;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;                    /* contain child overflow */
}

/* 2) Hover/focus “lift” effect */
.store-item .card:hover,
.store-item .card:focus-within {
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transform: translateY(3px);
}

/* 3) Uniform accent stripe on every card */
.store-item .card {
  border-bottom: 4px solid var(--secondary);
}

/* 4) Image treatment */
.store-item .card img {
  border-radius: 50%;                  /* circle avatar */
  object-fit: cover;
  margin: 1rem auto;                   /* vertical centering */
  display: block;
}

/* 5) Card body spacing & typography */
.store-item .card-body {
  padding: 1.25rem 1rem;
}
.store-item .card-title h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.store-item .card-body p {
  margin-bottom: 0.5rem;
  color: #555;
}

/* 6) Add-to-Cart CTA alignment */
.store-item .card-body > p:last-child {
  margin-top: 1rem;
  text-align: center;
}

/* =======Additional Store Polish ============== */
/* Section headings */
.store-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #222;
}

.store-subheading {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5rem;
}


/* ******************Store V3 ************************ */
/* Primary plan cards */
.plan-card .card {
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  overflow: hidden;
  padding-top: 0;
  position: relative;
}

/* Thin top accent stripe */
.plan-card .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 0px;
  width: 0%;
  background: var(--secondary);
}


/* Center the entire plan grid */
.plan-cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  text-align: center; /* ensures all children default to centered */
  align-items: flex-start;  /* sets cards to respect content height */
}

/* Each card gets a max width */
.plan-card {
  max-width: 320px; /* max card width */
  width: 100%;
  display: flex;
  justify-content: center;
}

.plan-card,
.plan-card * {
  font-family: "Roboto", sans-serif !important;
  font-weight: 900 !important; /* Roboto Medium */
}

.plan-card .card {
  width: 100%;
  padding: 1.5rem 1rem;
  border: 0px solid #e2e2e2;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  position: relative;
  text-align: center; /* ensures all content is centered */
}

/* Remove any old accent bar and replace with a thin top stripe */
.plan-card .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 0px;
  width: 100%;
  background: var(--secondary);
}

/* Typography tuning */
.plan-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #222;
}

.plan-tagline {
  font-size: 1.0rem;
  font-weight: 600 !important;
  color: var(--light-text);
  margin-top: -0.25rem;
  margin-bottom: 0.75rem;
  text-align: center;
  line-height: 2.3;
}

/* White tagline inside the blue center card */
.plan-cards-wrapper .plan-card:nth-child(2) .plan-tagline {
  color: var(--white);
}


.plan-price {
  font-size: 3.0rem;
  font-weight: 700;
  color: #555; /* grey price */
  margin-bottom: 0.75rem;
}
.plan-price .price-suffix {
  font-size: 0.35em;   /* scales relative to the main price */
  font-weight: 550 !important;
  color: #777;         /* lighter grey */
  margin-left: -10px;  /* subtle spacing */
  vertical-align: baseline;
}

/* Center card gets the blue background */
.plan-cards-wrapper .plan-card:nth-child(2) .card {
  background: #8299D6 !important;
  color: var(--white) !important;
  border-color: #859bD9 !important;
}

/* Make all text inside turn white */
.plan-cards-wrapper .plan-card:nth-child(2) .card * {
  color: var(--white) !important;
}

/* Button inside the blue card should invert (white pill with blue text) */
.plan-cards-wrapper .plan-card:nth-child(2) .plan-btn {
  background: var(--white) !important;
  color: var(--primary) !important;
  border-color: var(--white) !important;
}

.plan-cards-wrapper .plan-card:nth-child(2) .plan-btn:hover {
  background: var(--light-primary) !important;
  color: var(--primary-dark) !important;
}


.plan-setup {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.75rem;
}

.plan-desc {
  font-size: 10.9rem;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.plan-btn {
  width: 140px;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  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;
}

.plan-btn:hover {
  background: #bfbfbf !important;            /* slightly darker grey */
  border-color: #bfbfbf !important;
  color: var(--white) !important;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  text-align: center;
}

.plan-features li {
  margin: 0.25rem 0;
  font-size: 1.0rem;
  line-height: 1.3;
  color: #555;
}

/* White text inside the blue center card */
.plan-cards-wrapper .plan-card:nth-child(2) .plan-features li {
  color: var(--white);
}

/* Add-on cards */
.addon-card .card {
  border-radius: 10px;
  padding: 0.75rem;
}

.addon-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.addon-btn {
  width: 100%;
}

/* Add-Ons */
.addon-bottom-wrapper {
  max-width: 620px;      /* match sidebar width */
  margin: 2rem auto;     /* center horizontally */
}

.addon-list {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.addon-sidebar {
  padding: 1.25rem;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  min-width: 360px;
}

.addon-sidebar,
.store-cart-wrapper {
  margin-left: auto;
  margin-right: auto;
}

.addon-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.addon-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0;
}

.addon-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem; /* keeps price close to button */
}

.addon-line:last-child {
  border-bottom: none;
}

.addon-name {
  flex: 1 1 auto;             /* allows name to grow but stay aligned */
  display: flex;
  align-items: center;        /* <-- ensures vertical centering */
  line-height: 1.2;           /* prevents tall text from pushing upward */
}

.addon-price {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 0.9rem;
  color: #444;
  margin-right: 0.25rem;
  line-height: 1.2;
}

.addon-line button {
  font-size: 0.65rem !important;
  padding: 0.25rem 1.5rem !important;
  flex: 0 0 auto !important;
  width: auto !important;
  white-space: nowrap !important;
  align-self: center !important;
}

/* Flex wrapper that centers the two cards as a group */
.checkout-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;

  max-width: 900px;     /* caps the total width on large screens */
  margin: 0 auto;       /* centers the whole group */
  padding: 0 1rem;      /* prevents edge collisions */
}

/* This is the critical rule you were missing */
.checkout-col {
  flex: 1 1 0;          /* allows shrinking BEFORE overlap */
  min-width: 340px;     /* forces stacking when space is too small */
  display: flex;
  justify-content: center;
}


/* ============== Login Panel adjustments ==================== */
.login-panel {
  background: #f1f7ff;
  border: 1px solid #99c2ff;
  border-radius: 6px;
  color: #004080;
  text-decoration: none;
  transition: background 0.2s;
}
.login-panel:hover {
  background: #e0efff;
  text-decoration: none;
}
.login-panel-title {
  font-weight: 600;
  font-size: 1rem;
}
.login-panel h6 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.login-panel p {
  font-size: 0.9rem;
  color: #555;
}

/* ====================== Store adjustments ======================= */
/* Position relative to the wizard steps container */
.steps {
  position: relative; /* ensure child absolute positioning works */
}

.wizard-login-overlay {
  position: relative;
  top: -40px;       	/* adjust vertically */
  left: 450px;      	/* adjust horizontally */
  margin-bottom: -40px; /* pull following content back up */
  width: 12%; 		/* Match tab width */
  min-width: 200px;
  height: 45px; 	/* rough guess: match tab height */
  z-index: 1000;  	/* sit above the tab */
}

.wizard-login-overlay .btn {
  width: 100%;
  height: 100%;
  padding: 0;
  line-height: 40px; /* vertically center text */
  border-radius: 5px;  /* match tab’s square edges */
  background-color: #2185BF; /* match wizard tab blue */
  line-height: 3.0;
  border: none;
}
.wizard-login-overlay .btn:hover,
.wizard-login-overlay .btn:focus {
  background-color: #1E81BB !important;   /* darker blue on hover */
  box-shadow: none;          /* remove global shadow */
  transform: translateY(3px) !important;
  transform: translateX(1px) !important;
  color: #fff !important;                 /* keep text solid white */
}
/* Active (while clicking) */
.wizard-login-overlay .btn:active {
  background-color: #1C7FB0;                /* even darker */
  box-shadow: inset 0 3px 6px rgba(0,0,0,0.5);
}
#wizard .actions {
  position: absolute;
  top: 272px;       /* adjust as needed */
  right: 40px;     /* adjust as needed */
  margin: 0;
  z-index: 1100;
}

   /* Blur effect when loading */
    .blurred {
        filter: blur(3px);
        pointer-events: none;
        user-select: none;
    }

    /* Fullscreen overlay */
    #loadingOverlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.85);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    #loadingOverlay.show {
        visibility: visible;
        opacity: 1;
    }

    /* Card in the center */
    .loading-card {
        background: #fff;
        padding: 2rem 2.5rem;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        text-align: center;
        font-size: 1.2rem;
        color: #333;
    }


/* ================ Contact page cleanup ======================== */
.contact-info {
  background: #f8f9fa;       /* light gray background */
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;   /* breathing room inside */
  margin-bottom: 1.5rem;     /* space below */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* subtle shadow */
  max-width: 100%;           /* responsive */
  min-width: 280px;          /* don’t shrink smaller than this */
  max-height: 300px;
  left: 25px;
  top: 35px;
}

.contact-info h6 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #333;
}

.contact-info p {
  margin: 0 0 1rem;
  color: #555;
}

.contact-info a {
  color: var(--button-active); /* reuse your brand blue */
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Optional: keep the card height natural instead of stretching */
.contact-info {
  display: inline-block;  /* shrink-wrap to content height */
  vertical-align: top;
}

/* =================== Account page cleanup =========================== */
.info-note {
  background: #fdfdfd;
  border-left: 4px solid var(--button-active);
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #444;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 4px;

  display: block;
  width: auto;              /* shrink to fit parent column */
  line-height: 1.4;
}

.info-note a {
  color: var(--button-active);
  font-weight: 600;
  text-decoration: none;
}
.info-note a:hover {
  text-decoration: underline;
}
.info-note.line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
}

.info-note.line .label {
  font-weight: 600;
  color: #333;
}

.info-note.line .value {
  color: #555;
  font-weight: 500;
  text-align: right;
}

.info-card {
  flex: 1 1 300px;        /* grow/shrink, base width ~300px */
  max-width: 500px;       /* don’t let them get too wide */
  min-width: 260px;       /* don’t let them collapse too far */
  margin: 0.75rem;        /* spacing between cards */
  background: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.info-card .card-title {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.info-card .card-body {
  padding: 1rem 1.25rem;
  color: #555;
}
.info-card .card-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #eee;
}

.info-card .card-line:last-child {
  border-bottom: none;
}

.info-card .label {
  font-weight: 600;
  color: #333;
}

.info-card .value {
  color: #555;
  font-weight: 500;
  text-align: right;
}

.info-card .card-header-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.0rem 1rem;
}

.info-card .card-header-line .card-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.info-card .card-header-line .status {
  font-weight: 500;
}

/* ***********************Custom Plans adjustments********************* */
.service-header-row {
    display: flex;
    padding: 6px 6px;
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 8px;
}

.service-list-card {
    border-radius: 6px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-row {
    display: flex;
    align-items: center;
    padding: 10px 6px;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.service-row:hover {
    background: #f7f7f7;
}

.svc-col {
    padding: 0 8px;
    font-size: 0.95rem;
}

.svc-col.name {
    flex: 2;
    font-weight: 600;
}

.svc-col.number {
    flex: 1;
    color: #555;
}

.svc-col.status {
    flex: 1;
    font-weight: 600;
}

.svc-col.status.open {
    color: #2a7a2a;
}

.svc-col.status.suspended {
    color: #b33a3a;
}

.svc-col.location {
    flex: 1;
    color: #555;
}

.service-row a {
    text-decoration: none;
    color: #333;
}

.service-row a:hover {
    text-decoration: underline;
}

.info-card .card-line {
    border-bottom: 0.5px solid rgba(0,0,0,0.06);
}

/* ***************************************************Insert from staff CSS**************************************** */
/* =================== Sales checkout wizard =========================== */
  /* Overlay container */
  #loaderOverlay {
    position: fixed;
    inset: 0;
    z-index: 2000; /* above wizard and modals if needed */
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Card inside overlay */
  #loaderCard {
    background: #fff;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    padding: 24px 28px;
    width: min(420px, 90vw);
    text-align: center;
  }

  /* Spinner */
  .loaderSpinner {
    width: 36px;
    height: 36px;
    border: 3px solid #cfd8dc;
    border-top-color: #1976d2; /* accent */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px auto;
  }
  @keyframes spin { to { transform: rotate(360deg); } }

  /* Message area */
  #loaderMessage {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 8px;
  }

/* portal-skin.css additions */

/* General form labels and inputs */
#wizard .form-group label {
  font-size: 0.8rem;   /* smaller, cleaner */
  font-weight: 500;    /* medium weight for clarity */
  margin-bottom: 0px;  /* tighter spacing */
}

#wizard .form-control {
  font-size: 0.8rem;
  padding: 4px 8px;    /* reduce padding so fields aren’t huge */
  height: auto;        /* let height shrink naturally */
}

/* Wizard step titles */
#wizard .steps ul li a {
  font-size: 0.95rem;
  padding: 6px 10px;
}

/* Two-column layout for common pairs */
#wizard .form-row {
  display: flex;
  gap: 12px;
}

#wizard .form-row .form-group {
  flex: 1;
}

/* Panel body */
#wizard .content {
  background: #fafafa;
  border-radius: 6px;
  padding: 16px;
}

/* Buttons */
.wizard-actions {
  margin-top: 1rem;
  display: flex;
  gap: .5rem;
  justify-content: center; /* center children horizontally */
}

/* Hide without disabling or removing from the DOM */
#credentials-wrapper {
  position: absolute; /* remove from normal flow */
  left: -9999px;      /* move off-screen */
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.confirmation-panel {
  max-width: 700px;              /* make it larger */
  margin: 3rem auto;             /* center horizontally with auto margins */
  padding: 2rem;
  background: #fff;
  border: 2px solid var(--button-active);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  text-align: center;            /* center text inside */
}

.confirmation-panel h3 {
  color: var(--button-active);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.confirmation-panel p.lead {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.confirmation-panel .heads-up {
  background: var(--light-primary);
  border-left: 4px solid var(--button-active);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #444;
  display: inline-block;
  margin-top: 1rem;
}

.nextsteps-panel {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border: 2px solid var(--button-active);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.nextsteps-panel .card-title {
  font-size: 1.4rem;
  color: var(--button-active);
}

.nextsteps-panel .info-note {
  margin-top: 1rem;
  font-size: 0.95rem;
}
.nextsteps-grid {
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}

.nextsteps-card {
  background: #fff;
  border: 2px solid var(--button-active);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  padding: 1.5rem;
}
.card-row {
  display: flex;
  gap: 0.7rem;        /* space between cards */
  justify-content: center;
  flex-wrap: wrap;    /* stack on narrow screens */
}

.card-row .confirmation-panel {
  flex: 1 1 400px;    /* shrink/grow, base width ~300px */
  max-width: 500px;   /* keep them from stretching too wide */
}
.choice-header {
  text-align: center;
  margin-bottom: 1rem;
}
.confirmation-panel.new-customer {
  display: flex;
  flex-direction: column;   /* stack heading, text, button vertically */
  justify-content: center;  /* center them top-to-bottom */
  text-align: center;       /* optional: center text horizontally */
}
.comments-row {
  display: flex;
  align-items: center;   /* vertical centering */
  gap: 1rem;             /* space between textarea and button */
}

.comments-field {
  flex: 1;               /* textarea takes remaining width */
}

.comments-action {
  flex: 0 0 auto;        /* button keeps natural size */
}
.wizard-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.05),
        rgba(0,0,0,0.15),
        rgba(0,0,0,0.05)
    );
    margin: 1rem 0 1.5rem 0;
}
#wizard {
    position: relative;
}

#wizard-reset-btn {
    position: fixed;
    top: -7px;
    right: 0;
    margin-right: 0;
    z-index: 2000;
    padding: 17px 35px;
    font-size: 1.0rem;
    border-radius: 0px;
    background-color: #e6f0ff; /* light blue */
    color: #004080 !important;           /* deep blue text */
    border: 0px solid #c2d1e0;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#wizard-reset-btn:hover {
    background-color: #f7e6e6 !important;
    color: #7a2e2e !important; 
}

#wizard-reset-btn.resetting {
    background-color: #cc0000 !important;   /* strong warning red */
    color: #ffffff !important;              /* white text for contrast */
    border: none;
    opacity: 1;
    cursor: wait;
}

/* ===================== Wizard Fields Layout ===================== */

.wizardfields {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 0rem;
}

/* Left card */
.wizardfields-card {
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 1.75rem 2rem;
    max-width: none !important;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.nextsteps-grid h3 {
    color: var(--primary-dark); /* brand color */
}

.nextsteps-grid hr {
    margin: 0 0 1.25rem 0;
    border: 0;
    border-top: 1px solid #dcdcdc;
}

/* Center the Final Review content */ 
.summary {
 display: flex;
 justify-content: center;
 width: 100%;
}

.wizardfields-step {
 display: flex;
 justify-content: center;
 width: 100%;
}

.wizardfields-step .nextsteps-grid {
    width: 100%;
    display: grid;
    grid-gap: 5.6rem; /* spacing between cards */
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    justify-items: center; /* centers each card */
}

.wizardfields-step .container {
    max-width: 800px; /* same as landing page */
    margin: 0 auto;
}
/* *********************************************************************End of Staff Insert ******************************************** */














/* Make entire row clickable */
.clickable {
    cursor: pointer;
}

/* Group container */
.package-group {
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

/* Package row */
.package-row {
    background: #f7f7f7;
    border-left: 4px solid var(--button-active);
}

/* Child rows */
.child-row {
    background: #fff;
    font-size: 0.75rem !important;
}
.child-row .svc-col {
    font-size: 0.8rem;
}

/* Indentation + connector */
.child-indent {
    padding-left: 3rem;
    position: relative;
}

.child-indent::before {
    position: absolute;
    left: 0.75rem;
    top: -0.25rem;
    bottom: -0.25rem;
    width: 2px;
    background: #ddd;
}

.child-indent::after {
    position: absolute;
    left: 1.1rem;
    top: 0.2rem;
    color: #888;
    font-size: 0.85rem;
}

/* Optional: remove after pseudo-elements too, just in case */
.service-list *::after {
    content: none !important;
}
.plan-list-pane {
    min-width: 470px;   /* keeps your columns readable */
}
/* Plan detail card sizing (only in the split view) */
.plan-detail-card {
    flex: 1 1 300px;
    max-width: 100%;
    min-width: 450px;
    margin: 0.75rem;
}
.plan-detail-pane {
    display: flex;
    flex-direction: column;
}
.plan-link {
    cursor: pointer;
}
.plan-link:hover {
    background: #eef5ff;
}
.plan-link.selected {
    background: #e9fbe9;                         /* soft green background */
    border-left: 4px solid #3cb371 !important;   /* mediumseagreen accent */
    box-shadow: inset 0 0 6px rgba(60, 179, 113, 0.35); /* subtle glow */
}


/* Medium size screen adjustments */
@media (max-width: 1190px) {
/* Mid size screens: 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;
    }
.service-list-card {
 min-width: 0 !important;
 width: 100% !important;
 }
.service-list {
 min-width: 0 !important;
 }
.service-row, .service-header-row {
 min-width: 0 !important;
 }
.plan-detail-card {
    min-width: 240px;
}
}

/* ***********End Custom plans ************************ */
/* ***********Ticket fixes     ************************ */
.ticket-messages {
    margin-top: 1rem;
}

.ticket-message {
    background: #f8f9fb;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--button-active);
}


.ticket-message .body {
    white-space: pre-wrap;
}
    .ticket-messages { margin-top: 1.0rem; }

    .ticket-message {
        background: #f8f9fb;
        border-radius: 6px;
        padding: 1rem;
        margin-bottom: 1rem;
        border-left: 4px solid var(--button-active);
    }

    .ticket-message .body {
        white-space: pre-wrap;
        font-size: 0.95rem;
        margin-bottom: .1rem;
        white-space: normal;
    }

    .attachments { margin-top: 0.5rem; }

    .attachment-file {
        cursor: pointer;
        display: block;
        margin-top: 0.25rem;
        color: var(--button-active);
    }

.ticket-page .info-card {
    width: 100%;
    margin: 0 auto 0.5rem auto !important;
    flex: none;          /* override global flex behavior */
    display: block;      /* override global flex container */
}

.ticket-page .ticket-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    row-gap: 0rem;
    column-gap: 1.25rem;
    width: 100%;
    margin-bottom: 0rem;
}

.ticket-message .meta {
    padding: 0.75rem 0.75rem;
    border-radius: 4px 4px 0 0;   /* rounded top corners only */
    margin: -1rem -1rem 0.75rem -1rem; /* pull it to the edges of the bubble */
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    color: #333;
}

.customer-msg {
    background: #e8f7e8 !important; /* soft green */
}

.staff-msg {
    background: #eef2f6 !important; /* your existing gray */
}
.ticket-message.customer-msg {
    margin-left: 2rem; /* indent customer messages */
    border-left-color: #4caf50; /* green for customer */
}

.ticket-message.staff-msg {
    margin-left: 0; /* staff stays flush */
    border-left-color: var(--button-active); /* your existing blue */
}

.message-header {
    padding: 10.75rem 1rem;
    border-radius: 4px 4px 0 0;
    margin: 0;
}

/* Main layout container */
.ticket-page .ticket-main {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    flex-wrap: wrap; /* allows stacking */
}

/* Message column */
.ticket-page .ticket-messages {
    flex: 1 1 500px; /* grows more, shrinks to 500px */
}

/* Reply column */
.ticket-page .reply-panel {
    flex: 1 1 500px; /* grows less, shrinks to 500px */
    margin-top: 1rem;

}

/* Ensure reply card fills its column */
.ticket-page .reply-panel .info-card {
    width: 100%;
    max-width: none; /* override the 1100px limit */
}

/* File row */
.ticket-page .file-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.ticket-page .file-btn {
    white-space: nowrap;
}

.ticket-page .file-btn input[type="file"] {
    display: none;
}

.ticket-page .file-display {
    flex: 1;
}

/* Action buttons */
.ticket-page .reply-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: .25rem;
}

.ticket-page .reply-card .card-header-line {
    padding: 3px 0;      /* remove horizontal inset, tighten vertical */
    margin: 0;               /* remove any inherited margin */
    background: #eef2f6;  
}


.ticket-page .reply-card .jqte {
    margin-top: 0rem !important;
}
.ticket-page .reply-card .form-group {
    margin-bottom: 0rem;
}


/* Ticket breakout rule */
.ticket-page .reply-card .jqte,
.ticket-page .reply-card .jqte_editor,
.ticket-page .reply-card .jqte_source,
.ticket-page .reply-card .jqte iframe {
    width: 120% !important;
    max-width: none !important;
    min-height: 250px !important;
    resize: both !important;
}


/* ============================
   NUCLEAR LADDER OVERRIDES
   ============================ */

/* Ladder step 1: below 1190px */
@media (max-width: 1190px) {
.ticket-page .ticket-main,
.ticket-page .ticket-messages,
.ticket-page .reply-panel,
.ticket-page .reply-panel .info-card {
    min-width: 0 !important;
}
.ticket-page .ticket-messages,
.ticket-page .reply-panel {
    flex: 1 1 100% !important;   /* force stacking */
    max-width: 100% !important;  /* prevent side-by-side attempts */
}

}
@media (max-width: 989px) {
    .ticket-page .reply-card .jqte {
        width: 153% !important;
        max-width: none !important;
        min-width: 0 !important;
    }
}

