/** GENERAL **/
.ext-anchorpointtemplate .flex-fields {
  display:flex;
  justify-content: space-between;
  gap: 5px;
}

.ext-anchorpointtemplate form .flex-fields {
  align-items: flex-end;
}

.ext-anchorpointtemplate .flex-fields .flex-item {
    flex: 1; /* each child gets equal width */
}

.ext-anchorpointtemplate label {
  margin-bottom: 0px;
  font-weight:500;
  font-size:14px;
}

/* Group wrapper */
.radio-card-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn.back-button {
  padding-left:10px;
  padding-right:10px;
  color: #2f3642;
}

.btn.back-button:hover {
  background-color: #fee820;
}

/* Entire item is clickable */
.radio-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

.card-header-step-icon {
  font-size:64px;
  color: #003670;
}

.tippy-icon {
  cursor:pointer;
  color: #003670;
}

/* Hover effect (matches plan-option, addons, prepaid, etc.) */
.radio-card:hover {
  transform: translateY(-3px);
  border-color: #00367080;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}

/* Hide native radio */
.radio-card input[type="radio"] {
  display: none;
}

/* Radio circle outline */
.radio-card-circle {
  width: 18px;
  height: 18px;
  border: 2px solid #003670;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Filled dot when checked */
.radio-card input[type="radio"]:checked + .radio-card-circle {
  background: #003670;
  box-shadow: inset 0 0 0 3px #fff;
}

/* Text block */
.radio-card-text {
  flex: 1;
}

.radio-title, .addon-title {
  display:flex;
  margin-bottom:5px;
  align-items: center;
}

.radio-title .option-selected, .addon-title .option-selected {
    color: #003670;
    font-weight: 600;
    outline: 1px solid #003670;
    margin-left: 10px;
    padding: 0px 5px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1;
    align-items: center;
    display:none;
    height:20px;
}

.radio-card.selected .option-selected, .addon-card.selected .option-selected {
  display:inline-flex;
}

.option-selected.remove {
  outline: 1px solid #ef4444;
  color: #ef4444;
}

.radio-sim {
  font-weight: 600;
  font-size: 15px;
}

.radio-subtitle {
  font-size: 13px;
  color: #666;
}

/** END GENERAL **/


/* PLANS - PACKAGES */
.controller-shop {
  display: flex;
  justify-content: center; /* centers the whole block */
  padding: 24px 0px;
}

.plan-options-list {
  
  display: grid;
  gap: 20px;
  max-width: 1200px;
    
  /* Responsive column layout */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    
  /* Optional centering for full rows */
  justify-content: start; 

  margin-left: auto;
  margin-right: auto;
}

.plan-option {
  flex: 0 0 calc(33% - 20px);
  box-sizing: border-box;
  border: 1px solid #ddd;
  padding-bottom: 20px;
  padding-top:40px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition-property: all;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position:relative;
  overflow:hidden;
}

.plan-options-list > .plan-option > *:not(.plan-body),.plan-options-list > .plan-option > .plan-body > * {
  padding-left:20px;
  padding-right:20px;
}


.plan-allowances {
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* two equal columns */
    font-size:14px;
    font-weight:400;
}

.plan-allowances li {
  padding-right:5px;
}

.action-showordersummary .summary-item .plan-allowances {
  grid-template-columns: repeat(1, 1fr);
  gap:5px;
  text-align:right;
  
}


.order-summary.order-cart-summary .plan-allowances, .action-plans .plan-allowances {
  grid-template-columns: repeat(1, 1fr); /* 1 equal default */
}

.action-plans .price-amt sup {
  font-size:18px;
  top:-25px;
}

.plan-allowances .allowance-icon {
  color:#003670;
  display:inline-block;
  width:15px;
}

.plan-heading {
    text-align:center;
    position:relative;
}

.plan-footer {
    margin-top:40px;
}

.plan-heading p {
    font-size: 14px;
    text-align:center;
}

.plan-footer p {
    padding-top:32px;
    text-align:center;
    font-size:12px;
}

.plan-heading h3 {
    color:#003670;
    font-weight:700;
}



/* Temporary Testing */
 .price-amt {
  font-family:'Baloo Bhaina';
}

.price-duration {
  margin-top:0px !important;
}

.action-plans .price-amt {
  font-size:72px !important;
}

/* .flag-item-inner-wrapper {
  position:relative;
}

.flags-wrapper {
    position: relative;
    left: -22px;
    overflow: visible;
    height: 20px;
    box-shadow: 2px 6px 7px 1px #000000bf;
}

.flag-item {
  background-color: #003670;
  color: white;
  position: absolute;
  clip-path: polygon(0 0, 90% 0, 87% 50%, 90% 100%, 0 100%);
  padding-left: 15px;
  padding-right: 46px;
  white-space: nowrap;
  box-shadow: 7px 7px black;
  width:281px;
} */

.plan-options-list > .plan-option > .plan-body > .flags-wrapper {
  display:block;
  width:100%;
  position:relative;
  padding-left:0px;
  padding-right:0px;
  position:absolute;
  top:-3px;
  
}

.flag-item {

    /* color: white; */
    color: rgb(33, 37, 41);
    padding: 20px;
    background-color: hsl(54, 99%, 56%);
    padding: 0.5px 8.5px;
    margin-top: 2.5px;
    margin-bottom: 2.5px;
    white-space: nowrap;
    /* box-shadow: 0px 2px 4px 1px #000000bf; */
    padding-left: 20px;
    padding-right: 20px;
    text-align:center;

}


/* End Temprorary Testing */

.plan-option:hover {
  transform: translateY(-4px);
  border-color: #00367080; /* fixed: must use border-color */
}

.plan-body ul {
  list-style: none;     /* Removes bullets */
  margin: 0;            /* Removes default margin */
  padding: 0;           /* Removes default padding */
  font-size:14px;
}

.plan-body ul li {
    margin-top:12px;
}

.plan-pricing {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
    line-height:1;
}

.price-amt {
    font-weight:700;
    font-size:48px;
    color: #003670;
}

.price-duration {
    margin-top:5px;
    color:#6b7280;
    font-size:18px;
}

.btn.plan-rounded-btn {
    background-color: #00b7e0;
    color:white;
    margin-top:15px;
    border-radius: 20px;
    font-weight:700;
    font-size:18px;
    font-weight:600;
    min-width:128px;
    margin-bottom:30px;
    cursor:initial !important;
}

.plan-options-radio .radio-title {
  color:#003670;
  font-weight:700;
  font-size:18px;
}

.plan-options-radio .price-amt {
  font-size: 24px;
}

.plan-options-radio .radio-price {
  display:flex;
  line-height: 1;
  margin-bottom: 10px;
  margin-top:5px;
  align-items: flex-end;
  align-items: center;
}

.plan-options-radio .radio-price > div:not(.btn) {
  padding-right:5px;
}

.plan-options-radio .btn.plan-rounded-btn {
  min-width: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 12px;
  padding-bottom: 2.5px;
  padding-top: 2.5px;
  height: 22px;
  display: inline-flex;
  align-content: center;
  align-items: center;
}

.plan-options-radio .price-diff {
  display:none;
  color: #16a34a;
  font-size:14px;
  font-weight:500;
}

.radio-card.selected .price-diff {
  display: inline-block;
}

.details-box.current-plan-upgrade {
  margin-bottom:30px;
}

.details-box.current-plan-upgrade .plan-details {
  display:flex;
  justify-content: space-between;
}

.details-box.current-plan-upgrade .plan-details .current-plan-name {
  font-size:18px;
  color:#2f3642;
}

.details-box.current-plan-upgrade .plan-details .current-plan-telephone, .details-box.current-plan-upgrade .plan-details .current-plan-duration {
  color:#6b7280;
  font-size:14px;
}

.details-box.current-plan-upgrade .plan-details .current-plan-price {
  color:#6b7280;
  font-weight:700;
  font-size: 20px;
}

.details-box.current-plan-upgrade .plan-details .current-plan-price, .details-box.current-plan-upgrade .plan-details .current-plan-duration {
  display:block;
}

.details-box.warning {
  border:1px solid #ef444433;
  background-color: #ef44440d;
}

.ext-anchorpointtemplate .hidden {
  display:none;
}

.ext-anchorpointtemplate .card-header {
  background-color:transparent;
  text-align:center;
  border-bottom:none;
}

.ext-anchorpointtemplate .card-header h2 {
  text-align:left;
  margin-bottom:30px;
}

.ext-anchorpointtemplate .card-header svg {
  color:#003670;
  width:64px;
  height:auto;
}


/* Optional – make it stack on small screens */
@media (max-width: 991.98px) {
  .plan-option {
    flex: 1 1 100%;
  }
}

/* PLANS - ADDONS */
/* ========== MAIN WRAPPER ========== */
.addons-wrapper {
  display: flex;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  gap:20px;
}

/* ========== CONTENT GRID ========== */
.addons-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

/* ========== LEFT SIDE (Add-ons list) ========== */
.addons-list {
  flex: 1 1 70%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.addon-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.addon-section p {
  margin-bottom: 20px;
  color: #555;
}

/* Each group of cards (one per section) */
.addon-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Individual card — each one takes a full row */
.addon-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.25s ease-in-out;
  text-align:left;
}

.addon-card .addon-description p {
  font-size:14px;
  margin-top:10px;
}

.addon-card:hover {
  transform: translateY(-3px);
}

.addon-card:hover, .addon-card:focus, .addon-card.selected, .sim-selection .radio-card.selected {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-color: #00367080;
  cursor:pointer;
}

.addon-card.selected {
  outline: 1px solid #00367080;
}

.addon-card h4 {
  margin: 0px;
}

.addon-card .price {
  font-weight: bold;
  color: #003670;
  margin-bottom: 10px;
  font-size:20px;
}

.controller-shopaddons.action-showaddons .addon-card .addon-title,  .controller-shopaddons.action-showaddons .addon-card .price-details,
.controller-shoptravelandroaming.action-showaddons .addon-card .addon-title,  .controller-shoptravelandroaming.action-showaddons .addon-card .price-details {
  display:inline-flex;
}

.controller-shopaddons.action-showaddons .addon-card .price-details {
  float:right;
}

.controller-shoptravelandroaming.action-showaddons .addon-card .price-details,  .controller-shopaddons.action-showaddons .addon-card .price-details {
  display:inline-block;
}

.controller-shoptravelandroaming.action-showaddons .addon-card .price-details {
  float:right;
}



/* ========== RIGHT SIDE (Summary panel) ========== */
.addons-summary {
  flex: 0 0 300px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  height: fit-content;
  align-self: flex-start;
}

.addons-summary h3 {
  margin-top: 0;
}

.summary-placeholder {
  border-top: 1px solid #eee;
  margin-top: 15px;
  padding-top: 10px;
  color: #777;
}

#addon-summary h3 {
  margin-bottom:25px;
}

#addon-summary .summary-item {
  font-size:14px;
  flex-direction:column;
  margin-bottom: 10px;
  font-weight:500;
}

#addon-summary .summary-item .summary-item-price {
  font-size:12px;
  color: #6b7280;
}

#addon-summary .summary-total {
  margin-bottom:15px;
}

.plan-upgrade-summary .summary-total {
  border-top:none;
  align-items: center;
}

/* .plan-upgrade-summary .summary-total.current-plan {
  border-top: 1px solid #eee;
} */

.order-cart-summary .plan-upgrade-summary {
  border-top: 1px solid #eee;
}

.plan-upgrade-summary .summary-total.current-plan, .plan-upgrade-summary .summary-total.new-plan {
  /* padding-bottom: 10px;
  margin-bottom: 10px; */
}

.order-cart-summary .price-small, .order-summary .price-small {
  color: #212529;
  font-size:14px;
  font-weight:400;
}

.plan-upgrade-summary .price {
  font-size:16px !important;
}


.text-green, .action-showordersummary .summary-item .upgrade-plan-details.text-green .plan-allowances .allowance-icon {
  color:#16a34a !important;
}

.text-blue {
  color:#003670 !important;
}

.controller-shopaddons.action-showaddons #addons-list-submitform button[type='submit'], .controller-shoptravelandroaming.action-showaddons #addons-list-submitform button[type='submit'] {
  display:none;
}

.enable-submit-loader.loading {
    cursor: not-allowed !important;
    opacity:0.8;
}

#shipping-address-form .flex-fields .flex-item, .justvalidate-form .flex-fields .flex-item {
  min-height:100px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .addons-content {
    flex-direction: column;
  }

  .addons-summary {
    flex: 1 1 100%;
  }
}

/* ========== Travel & Roaming ========== */
.travel-packages-wrapper {
  display: flex;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.travel-packages-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

/* LEFT column */
.travel-packages-list {
  flex: 1 1 70%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.package-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.package-section p {
  margin-bottom: 20px;
  color: #555;
}

.package-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Individual card */
.package-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.25s ease-in-out;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-color: #00367080;
}

.package-card h3 {
  margin: 0 0 5px;
}

.package-card .price {
  font-weight: bold;
  color: #003670;
  margin-bottom: 10px;
}

.package-card ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.package-card li {
  margin-bottom: 5px;
  position: relative;
  padding-left: 15px;
}

.package-card li::before {
  content: "•";
  color: #003670;
  position: absolute;
  left: 0;
}

/* RIGHT column */
.travel-packages-summary {
  flex: 0 0 300px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  height: fit-content;
  align-self: flex-start;
}

.travel-packages-summary h3 {
  margin-top: 0;
}

.summary-placeholder {
  border-top: 1px solid #eee;
  margin-top: 15px;
  padding-top: 10px;
  color: #777;
}

/* Responsive */
@media (max-width: 900px) {
  .packages-content {
    flex-direction: column;
  }

  .travel-packages-summary {
    flex: 1 1 100%;
  }
}


/* ========== PREPAID PLANS ========== */

.prepaid-wrapper {
  display: flex;
  justify-content: center;
  background: #f9f9f9;
  padding: 20px;
  box-sizing: border-box;
}

.prepaid-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

/* LEFT COLUMN (main) */
.prepaid-main {
  flex: 1 1 70%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* RIGHT COLUMN (summary) */
.prepaid-summary {
  flex: 0 0 300px;
}

.summary-box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 20px;
}

.summary-box h3 {
  margin-top: 0;
  margin-bottom: 15px;
}

.summary-item {
  margin-bottom: 20px;
}

.summary-total {
  border-top: 1px solid #eee;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  flex-wrap:wrap;
}

.plan-upgrade-summary .plan-allowances {
  flex: 0 0 100%;
}

.summary-box button {
  width: 100%;
  background: #003670;
  color: white;
  border: none;
  padding: 10px;
  margin-top: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s ease-in-out;
}

.summary-box button:hover {
  background: #002d5b;
}

/* Plan sections */
.prepaid-plan-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.prepaid-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.prepaid-plan-grid.two-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Cards */
.prepaid-plan-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.25s ease-in-out;
}

.prepaid-plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-color: #00367080;
}

.prepaid-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.prepaid-plan-header h3 {
  margin: 0;
  color: #003670;
}

.prepaid-plan-header .period {
  font-size: 0.9em;
  color: #777;
}

.prepaid-plan-body ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.prepaid-plan-body li {
  padding-left: 12px;
  position: relative;
  margin-bottom: 4px;
}

.prepaid-plan-body li::before {
  content: "•";
  color: #003670;
  position: absolute;
  left: 0;
}

.prepaid-plan-card input[type="radio"] {
  accent-color: #003670;
  width: 18px;
  height: 18px;
}

/* Selected state */
.prepaid-plan-card.selected {
  border-color: #003670;
  box-shadow: 0 0 0 2px #00367033;
}

/* Responsive */
@media (max-width: 900px) {
  .prepaid-content {
    flex-direction: column;
  }
  .prepaid-summary {
    flex: 1 1 100%;
  }
}


/**** SHOP ******/
/* Layout Basics */
.controller-shop {
  flex-direction:column;
}

/* Header */
.header {
  margin-bottom: 30px;
}

.back-button {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 6px 0;
}

.title-block h1 {
  margin: 10px 0 5px;
  font-size: 28px;
}

.title-block p {
  margin: 0;
  color: #666;
}

/* Step Progress */
.steps {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  overflow-x: auto;
  justify-content: space-between;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.step .circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #6b7280;
  font-weight:500;
}

.step.active .circle, .step.complete .circle {
  background: #003670;
  color: #fff;
}

.step span {
  font-size: 12px;
  margin-top: 6px;
  text-align: center;
}

.line {
  flex: 1;
  height: 2px;
  background: #f3f4f6;
  margin: 0 10px;
}

/* Main 2-column layout */
.layout {
  display: flex;
  gap: 30px;
}

.layout.order-summary-layout, .layout.condensed-layout {
  width:700px;
  margin:auto;
  max-width:100%;
}

.main {
  flex: 2;
}


/* ORDER SUMMARY CART */
.order-summary.order-cart-summary {
  flex: 1;
}

.order-summary.order-cart-summary .btn {
  padding-bottom: 2px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 2px;
  font-size:12px;
  min-width:53px;
  margin:0px;
  height:24px;
}

.order-summary.order-cart-summary .details-box ul li {
  font-size:14px;
}

.order-summary.order-cart-summary .details-box .other-details li.sim-type {
  color:#16a34a;
}

.order-summary.order-cart-summary .details-box .other-details li.phone-number.new {
  color:#2563eb;
}

.order-summary.order-cart-summary .cart-order-summary-addons {
  margin-bottom:10px;
}

.order-summary.order-cart-summary .cart-order-summary-addons .addon {
  display:flex;
  justify-content: space-between;
  font-size:14px;
}

.order-summary.order-cart-summary .cart-order-summary-addons .addon .addon-price {
  color: #212529;
}

.order-summary.order-cart-summary .summary-total .price, .summary-dynamic .summary-total .summary-total-amount {
  font-size:20px;
  color:#003670;
}

.order-summary.order-cart-summary .details-box i {
  display:inline-block;
  width:20px;
}

/* ORDER SUMMARY STEP */
.order-summary.order-step-summary .summary-section:not(:last-of-type) {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom:20px;
  margin-bottom:20px;
}

.order-summary.order-step-summary .summary-section:first-of-type {
  margin-top:20px;
}

.order-summary.order-step-summary .plan-title {
  color:#003670;
  font-weight:600;
  font-size:18px;
}

.order-summary.order-step-summary .data-amt {
  font-size:16px;
  color: #6b7280;
  font-weight:initial;
}

.order-summary.order-step-summary h4 {
  font-weight:700;
  color: #2f3642;
}

.order-summary.order-step-summary p {
  margin-bottom:0px;
}

.order-summary.order-step-summary .summary-item {
  margin-bottom:10px;
  line-height:1;
  font-size:14px;
}

.order-summary.order-step-summary .summary-total {
  border-top:0px;
}

.order-summary.order-step-summary .plan-rate {
  font-size:18px;
  color:#003670;
  font-weight:700;
}


.order-summary.order-step-summary .sim-total {
    border-top: 1px solid #e5e7eb;
    margin-top: 15px;
}

.cart-account-details {
  border-top: 1px solid #e5e7eb;
  padding-top:10px;
}
.cart-account-details p {
  margin-bottom:0px;
  font-size:14px;
}

.order-cart-summary > .card > * {
  padding-top:10px;
}



/* Sticky order-summary */
.sticky {
  position: sticky;
  top: 20px;
}

/* Card Component */
.card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Form fields */
.form-group {
  margin-bottom: 20px;
}

label {
  font-weight: bold;
}

input:not([type="checkbox"]):not(.form-check-input):not(.powermail_radio), select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-top: 6px;
  min-height: 46px;
}

small {
  display: block;
  margin-top: 4px;
  color: #666;
}

/* Summary panel */
.summary-item,
.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}

.main-content p.subtext, .main-content span.subtext {
  color: #666;
  font-size: 12px;
}

.details-box .summary-section .updated-monthly-total {
  background-color: rgb(0, 54, 112, 0.1);
  padding:16px;
  border-radius:8px;
}

.details-box {
  margin-top: 20px;
  padding: 15px;
  background: #fee82033;
  border-radius: 6px;
}

.details-box:not(.warning) ul:not(.default-list-style) {
  margin: 0;
  padding-left: 0;
  list-style: none;
  
}

.details-box ul:not(.default-list-style) li, .details-box p, .terms-box p, .terms-box li {
  color: rgb(47, 54, 66);
}

.details-box .upgrade-plan-details.text-green ul:not(.default-list-style) li {
  color: #16a34a !important;
}

/** ALERTS **/
.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 15px;
}

.alert-icon .icon {
    width: 20px;
    height: 20px;
}

/* Success */
.alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

/* Error */
.alert-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

/* Warning */
.alert-warning {
    background: #fffbeb;
    border-color: #fef08a;
    color: #92400e;
}

/* Info */
.alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.text-warning {
  color:#991b1b !important;
}

.form-action-results {
  margin-top:15px;
}

/** TERMS **/
.terms-box {
    max-height: 540px;
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fee82033;
    margin-bottom: 1rem;
}

.terms-box h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size:18px;
}

.terms-box p,
.terms-box ol {
    margin-bottom: 1rem;
}

/** MANAGE LIST ACCOUNTS **/

.list-accounts .card.account-card .card-body {
  min-height:115px;
  padding-bottom:5px;
  padding-top:5px;
}

.list-accounts .card.account-card > div {
  padding-left:0px;
  padding-right:0px;
}

.list-accounts .card .card-title {
  text-align:left;
  margin-bottom:5px;
}

.list-accounts .card .card-header {
  position:relative;
  text-align:left;
}

.list-accounts .card .card-header p {
  margin-bottom:0px;
  font-size:12px;
}

.list-accounts .card .card-header p.telephone {
  font-size:14px;
}

.list-accounts .card .account-details {
    display: flex;
    flex-wrap: wrap;
    margin-bottom:20px;
}

.list-accounts .card .account-details > div {
    flex: 1 1 50%;       /* grow/shrink, base 50% width */
    box-sizing: border-box; /* include padding in width */
}

.list-accounts .card .account-details p {
  margin-bottom:0px;
}

.list-accounts .card .account-details .account-detail-heading {
  font-size:14px;
  margin-top:10px;

}

.list-accounts .card .account-details .account-detail {
  line-height:1;
  font-size:14px;
  font-weight:500;
  color: #2f3642;
}

.list-accounts .card .sim-status {
  position:absolute;
  top:0;
  right:0;
  text-transform: uppercase;
  font-size:14px;
  font-weight:600;
}

.list-accounts .card-footer .account-actions {
  display:inline-flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px;
}

.list-accounts .card-footer .account-actions a.btn-white-yellow {
  color:rgb(47, 54, 66);
}

.list-accounts .card .account-details .price-details {
  font-size:24px;
  color: #003670;
  font-weight:700;
}

.list-accounts .card .account-details .plan-name, .list-accounts .card .account-details .addon-name {
  font-size:18px;
  color: #2f3642;
  font-weight:600;
}

.list-accounts .card .account-details .addon-name {
  font-size:14px;
  margin-bottom:0px;
}

.list-accounts .card .sim-status.status-active {
  color:#16a34a;
}

.list-accounts .card .sim-status.status-allocated {
  color: #ca8a04;
}

.list-accounts .port-status {
  font-weight:600;
  font-style:italic;
  color:#ca8a04;
}

.list-billing .previous-invoice {
  margin-top:15px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items:center;
}

.list-billing .invoice-action-wrapper {
  display:flex;
  align-items:center;
}

.list-billing .invoice-paid {
  padding:15px;
}

.list-accounts > .layout {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two equal columns */
  gap: 1rem;                      /* space between columns/rows */
  align-items: start;             /* change to center if you want vertical centering */
}

.list-accounts .card .account-details .pending-activation {
  color:#ca8a04;
  font-weight:600;
  font-size:18px;
}

.account-management-list-details.list-usage .usage-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-management-list-details.list-usage .item-details {
  display:flex;
  flex-direction: column;
  flex: 1;
  padding-right:15px;
}

.account-management-list-details.list-usage .item-info-wrapper {
  color: #6b7280;
  font-size: 14px;

}

.account-management-list-details.list-usage .used-gb {
  color:#003670;
  font-weight:700;
  font-size:24px;
}

.account-management-list-details.list-usage .usage-percent-amt {
  color:#16a34a;
  font-weight:700;
  font-size:24px;
}

.account-management-list-details.list-usage .usage-high .usage-percent-amt {
  color:#dc2626;
}

.account-management-list-details.list-usage .billing-days-remaining {
  color:#2f3642;
  font-weight:700;
  font-size:24px;
}

.account-management-list-details.list-billing .item-icon-wrapper {
  width:40px;
  height:40px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.account-management-list-details.list-billing .current-charge .item-icon-wrapper {
   background-color:#0036701a;
}

.account-management-list-details.list-billing .due-date .item-icon-wrapper {
   background-color:#fee2e2;
}

.account-management-list-details.list-billing .bill-date .item-icon-wrapper {
   background-color:#dbeafe;
}

.account-management-list-details.list-billing .item-details {
  display:flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}



.subheading-muted {
  color: #6b7280;
  font-size: 14px;
}

.card-footer {
  background-color:transparent;
}

/* USAGE BAR */
/* Wrapper (optional if you want label text) */
.usage-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Bar background */
.usage-bar {
    --usage: 0; /* default */
    width: 100%;
    height: 14px;
    background: #e5e5e5;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* Bar fill */
.usage-bar::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;

    /* dynamic width from CSS variable */
    width: calc(var(--usage) * 1%);
    
    /* default color */
    background: linear-gradient(90deg, #51c16b, #3d9e56);
    
    border-radius: 8px;
    
    /* animation */
    transform-origin: left center;
    transform: scaleX(0);
    animation: usageFill 1.4s ease-out forwards;
}

/* Turns red at 90% or more */
.usage-bar[style*="--usage: 9"],
.usage-bar[style*="--usage: 9."],
.usage-bar[style*="--usage: 1"],
.usage-bar[style*="--usage: 100"] {
    --bar-color: #e74c3c;
}

.usage-bar[style*="--usage: 9"]::before,
.usage-bar[style*="--usage: 1"]::before {
    background: #e74c3c !important;
}

/* Animation definition */
@keyframes usageFill {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Optional label styling */
.usage-label {
    font-size: 0.85rem;
    color: #555;
}

/** AJAX LOADING AND RESULTS **/
.ajax-results {
  margin-top:15px;
  margin-bottom:15px;
}



.force-warning {
  color: #ef4444 !important;
}

.warning-submit {
  color:white;
  background-color:#ef4444 !important;
}

.warning-submit:hover {
  background-color:#ef4444e6 !important;
}

.flex-fields.downloadable-documents {
  margin-bottom:15px;
  align-items: flex-end;
}


@media (max-width:1199px) {

  .addons-summary {
    width:100%;
  }
  
  .main-content h1 {
    font-size: 36px;
  }
  
  .main-content p {
    font-size: 16px;
  }

  .list-accounts > .layout {
      grid-template-columns: 1fr; /* 1 column */
  }
}

@media (max-width:991.98px) {
  .layout {
    flex-direction: column;
  }
  .addons-wrapper {
    flex-direction: column;
  } 
  .workflow-navigation .line {
    display:none;
  }

  .layout .card .card-body {
    padding:5px;
  }

  .plan-allowances {
      grid-template-columns: 1fr; /* switch to 1 column on small screens */
  }

  .list-accounts .card .account-details {
    flex-direction:column;
  }


  
}

@media (max-width:767.98px) {
  .account-management-list-details.list-usage .usage-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-management-list-details.list-usage .item-details {
    padding:0px;
    width:100%;
  }

  .account-management-list-details.list-usage .details-box .flex-fields {
    align-items: flex-start;
    flex-direction: column;
    border-top: 1px solid #eee;
    padding-top:30px;
  }

  .list-accounts .card .sim-status {
    font-size:12px;
  }

  .plan-options-radio .radio-card-circle {
    display:none;
  }

  .addons-wrapper {
    padding:0px;
  }

  .step {
    min-width:1px;
    padding-left:2px;
    padding-right:2px;
  }

  .flex-fields.downloadable-documents {
    align-items: flex-start;
    flex-direction:column;
  }

  .upgrade-plan-details-order-summary {
    flex-direction:column;
    text-align:left;
  }

  .action-showordersummary .upgrade-plan-details-order-summary .plan-allowances {
    text-align:left;
    margin-top:10px;
  }

  .billing-overview .item-detail-wrapper {
    align-items: flex-start;
    flex-direction: column;
  }
}


