﻿body {
  font-family: "Noto Sans", sans-serif !important;
  font-size: 1.5rem;
}

table {
  margin-bottom: 0;
}

hr {
  margin: 0.5rem 0 1rem 0;
}

label {
  font-weight: 400
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

input[readonly], textarea[readonly] {
  background-color: #f8f8f8; /* Light gray background */
  border: 1px solid #ccc;
  color: #555;
}

.locked {
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  color: #555;
  pointer-events: none; /* Prevent interaction */
  cursor: not-allowed;
}

.cart-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}

.add_items {
  display: flex;
  flex-direction: row;
  column-gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}

.hidden {
  display: none;
  width: 0;
}

.cart-table {
  color: #505D64;
  border: none !important;
}

  .cart-table th,
  .cart-table td {
    border: none !important;
    padding: 12px 8px;
  }

  .cart-table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6 !important;
    font-weight: 600;
  }

  .cart-table tbody tr {
    background-color: #F3F4F4;
  }

    .cart-table tbody tr:nth-child(even) {
      background-color: #ffffff;
    }

    .cart-table tbody tr:hover {
      background-color: #f5f5f5;
    }

.cart-purchase_option {
  color: #505D64;
  margin-bottom: 1.5rem;
}

.cart-block {
  margin-bottom: 3rem;
  color: #505D64;
}

  .cart-block p {
    margin-bottom: 1rem;
  }

.cart-block__row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 3rem;
  column-gap: 1rem;
}

.cart-terms {
  color: #505D64;
  font-size: 1.5rem;
}

.code-entry {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  column-gap: 2em;
}

.cart-order {
  color: #505D64;
}

.order-id {
  display: flex;
  flex-direction: column;
}

.cart-order__summary {
  color: #505D64;
  font-size: 18px;
  padding: 3rem;
  background-color: #F3F4F4
}

.input-group-btn {
  margin: 10px;
}
.cart-order__summary > .control-label {
  padding-right: 3em;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em 1.5em;
  font-weight: bold;
  font-size: 16px;
  white-space: nowrap;
  border: none;
}

  .cart-button > input {
    border: inherit;
    color: inherit;
    background: inherit;
    font-weight: inherit;
  }

  .cart-button > .spinner-loader > .spinner {
    width: inherit;
    height: inherit;
    border: 3px solid #fff;
    margin-right: 1rem;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin .7s linear infinite;
  }

  .cart-button > .spinner-loader {
    width: 16px;
    height: 16px;
    animation: load-in .3s ease-in-out;
    margin-right: 1rem;
  }

@keyframes load-in {
  0% {
    width: 0px;
    opacity: 0;
  }
  50% {
    width: 16px;
    opacity: 0;
  }
  100% {
    
    opacity: 1;
  }
}

.cart-button.button-blue {
  background: #009ae1;
  color: #fff
}

.cart-header {
  color: #505D64;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cart_add_item {
  display: inline-block
}

.cart-dropdown {
  min-width: 380px;
}
.disabled-control {
  opacity: 0.6;
  cursor: not-allowed;
}

.renewal-locked input[readonly],
.renewal-locked select[disabled],
.renewal-locked textarea[readonly] {
  background-color: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.7;
}

.renewal-locked .purchase-option input[disabled] + label {
  opacity: 0.6;
  cursor: not-allowed;
}

.renewal-info-banner {
  background-color: #e3f2fd;
  border: 1px solid #2196f3;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 15px;
  color: #1976d2;
  font-weight: 500;
}

.order-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  row-gap: 1rem;
  column-gap: 1rem;
}

.promo-button {
  margin-bottom: 10px;
}

.form-group__order-id {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.end_user-purchase_options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #505D64;
}

.purchase-option {
  display: block;
  cursor: pointer;
}

  .purchase-option input[type="radio"] {
    margin-right: 0.5rem !important;
  }

.company_info__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.75rem;
}

.company_info__title {
  font-size: 1.5rem;
  margin: 0;
}

.company_info__close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
}

/* Form Styles */
.company_info-form {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@keyframes slide-form {
  0% {
    max-height: 0;
  }

  100% {
    max-height: 800px;
  }
}

.company_info-form.active {
  animation: slide-form 1s ease-in-out;
}

.company_info-form.inactive {
  max-height: 0;
  transition: max-height ease-in-out 0.5s;
}


.company_info-form__row {
  display: flex;
  gap: 1rem;
  flex-direction: row;
}

.company_info-form__group {
  flex: 1;
  flex-direction: column;
  display: flex;
}

.company_info-form__label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #505D64
}

.company_info-form__input,
.company_info-form__select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
}

.company_info-loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%; /* Adjust as necessary */
  text-align: center;
  animation: slide 1s ease-in-out;
}

.purchase-options input[type="radio"] {
  margin-right: 0.5rem !important;
}

.purchase_options {
  margin-bottom: 1rem;
}

@keyframes slide {
  0% {
    max-height: 0;
    opacity: 0;
  }

  25% {
    opacity: 0;
    max-height: 300px;
  }

  100% {
    opacity: 1;
  }
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #B9BFC3;
  border-bottom-color: #0077BA;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: spin 1s linear infinite;
}



#loading_text {
  font-size: 16px; /* Adjust size as needed */
}

.company_info-form.active {
  max-height: 800px; /* Set a maximum height large enough to accommodate content */
}

.company_info-form.inactive {
  max-height: 0; /* Collapse the form */
}

/* Optional: Make it responsive */
@media (max-width: 768px) {
  .company_info-form {
    max-height: 100%; /* Allow full expansion on smaller screens */
  }
}
