maintenance

/* #store-form .form-group .description {
  font-size: 10px;
  color: #777;
  margin-top: 0px; 
} */

a.back-store,
a.back-store:visited,
a.back-store:hover,
a.back-store:active,
a.back-store:focus {
  color: #adadad !important;
  font-size: 90%;
  text-decoration: none;
}

a.back-store:hover {
  text-decoration: underline;
  color: #888 !important;
}

a.back-store span {
  display: inline-block;
  margin-right: 0.25em;
  font-size: 150%;
  transform: translateY(1px); /* fine-tunes vertical alignment */
}


#store-form #license-count, 
#store-form #edit-prev-pkey,
#store-form #edit-coupon-code {
  padding: 2px 10px 2px 10px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 5px;
  outline: none;
  line-height: 1.6;
}

.dark-mode #store-form #license-count, 
.dark-mode #store-form #edit-prev-pkey,
.dark-mode #store-form #edit-coupon-code {
  border: 2px solid #616161;
  background-color: #333;
}

#store-form #currency-select select {  
  padding: 4px 10px 4px 6px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 5px;
  outline: none;
  line-height: 1.6;
}

.dark-mode #store-form #currency-select select{
  border: 2px solid #616161;
  background-color: #333;
}


#store-form .vat-container .form-group input:focus + label,
#store-form .vat-container .form-group label.active {
  top: 20px !important;
  font-size: 12px;
  color: #888;
}
 
/* Wrapper to align checkbox properly */
#store-form .checkbox-group div {
  display: flex;
  align-items: center;
  gap: 10px; /* Space between checkbox and label */
}

/* Hide default checkbox */
#store-form .custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 5px; /* Rounded edges to match inputs */
  display: inline-block;
  position: relative;
  cursor: pointer;
  background-color: white;
  transition: all 0.3s ease-in-out;
}

/* Show checkmark when checked */
#store-form .custom-checkbox:checked {
  border-color: #007bff;
  background-color: #007bff;
}

/* Custom checkmark */
#store-form .custom-checkbox::before {
  content: '✔'; /* Unicode checkmark */
  font-size: 14px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s;
}

/* Show checkmark on checked state */
#store-form .custom-checkbox:checked::before {
  opacity: 1;
}

#store-form .checkbox-group label {
  font-size: 16px;
  padding-top: 2px;
  cursor: pointer;
}

.dark-mode #store-form .checkbox-group label {
  font-size: 16px;
  padding-top: 2px;
  color: #c2c2c2;
  cursor: pointer;
}

#store-form .checkout-form {
  display: grid;
  grid-template-areas:
    "product-summary product-summary"
    "personal-info payment-methods"
    "address-section payment-methods";
  grid-template-columns: 2fr 1fr;
  row-gap: 20px;
  column-gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5px 5px 5px;
}

#store-form .delivery-text {
  text-align: left;
  font-size: 0.8em;
}

#sum-price {
  font-size: 1.2em;
}

#store-form .payment-tabs {
  display: flex;
  gap: 5px;
}

#voucher-tab {
  display: none;
}
.payment-tabs .tab-link[data-tab="voucher-tab"] {
  display: none;
}

.customer-type-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; 
}

.customer-type-container .business-checkbox {
  margin-left: auto; 
}

.billing-email-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; 
}

.billing-email-container .billing-email-checkbox {
  margin-left: auto; 
}

#checkboxes {
  margin-top: 25px;
}

#store-form .tab-link {
  padding: 5px 15px;
  background: #ddd;
  cursor: pointer;
  text-align: center;  
  transition: background 0.3s ease-in-out;
  font-weight: bold;
  text-decoration: none; /* If using <a> */
  color: black; /* Ensures readable text */
  display: inline-block;
}

#store-form .tab-link:hover {
  background: #ccc;
}

#store-form .tab-link.active {
  background: #0f99da;
  color: white;
}


#store-form .payment-content {
  display: none;
  min-width: 320px; 
}

#store-form .payment-content.active {
  display: block;
}

#store-form .payment-info {
  font-size: 14px;
  color: #555;
  padding: 10px 10px 0 10px;
  border-top: 1px solid #a16e00;
  margin-top: 15px;
  line-height: 1.3em;
}

.dark-mode #store-form .payment-info {
  color: #a8a8a8;
  border-top: 1px solid #929292;
}

#store-form #currency-select {
  text-align: right;
  margin-bottom: 15px;
  flex: 2;
}

.product-item {
  flex: 2;
  min-width: 0;
}

#currency-select {
  flex: 1;
  min-width: 100px;
}

.product-container {
  display: flex;  
  flex-wrap: wrap; 
  align-items: center;
  margin-bottom: 10px;
}

#store-form #edit-first-name, 
#store-form #edit-last-name, 
#store-form #edit-city,
#store-form #edit-postal-code,
#store-form #edit-country,
#store-form #edit-e-order-id,
#store-form #edit-reseller-name,
#store-form #edit-country-personal,
#store-form #edit-vat,
#store-form #edit-reseller-vat {
  width: 100%;
  box-sizing: border-box;
}

#store-form #reseller-label {
  white-space: nowrap;
}

#store-form #edit-email,
#store-form #edit-company,
#store-form #edit-billing-email,
#store-form #edit-address {
  width: 100%;  
  box-sizing: border-box;
}


#store-form .cart-item {
  display: flex;
  width: 100%;
  margin-bottom: 20px;
}

#store-form .product-image {
  width: 230px;
  padding-top: 35px;
  padding-right: 25px;
}

#store-form .product-image img {  
  width: 100%;
  height: auto;
}

#store-form .product-header div:nth-child(1),
#store-form .product-item > div:nth-child(1) {
    text-align: left; 
    flex: 2; 
}

#store-form .product-header,
#store-form .product-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

#store-form .product-header div,
#store-form .product-item div {
    flex: 1;
    text-align: center; 
}

#store-form .product-item input {
    text-align: center;
}

#store-form .product-details {
  margin-left: 20px;
  flex: 1;
  flex-grow: 1;
}

#store-form h2 {
  margin: 0px !important;
  font-size: 22px;
}

#store-form .pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
  width: 100%;
}

#netpricedata {
  font-size: 0.8em;
}

#store-form .unit-price {
  flex: 1; 
}
#store-form .pricing input {
  padding: 5px;
  border: 1px solid #ccc;
}

#store-form .license-left > div > label {
  display: inline !important;
}


#store-form .store-row {
  display: flex;
  align-items: center;
  background: #eaeaea;
  padding: 2px 15px;
}

#store-form .fixed {
  height: 55px;
}

.dark-mode #store-form .store-row {
  background: #3f3f3f;    
}


#store-form #license-count {
  text-align: center;
  width: 60px; 
}

#store-form #edit-prev-pkey  {
  text-align: left;
  box-sizing: border-box;
  width: 100%;
}

#store-form #edit-coupon-code {
  text-align: left;
  box-sizing: border-box;
  width: 100%;
}



#store-form #maintenance-price
{
    font-weight: bold;
    color: #333;
    text-align: right;
    min-width: 120px;
}

.dark-mode #store-form #maintenance-price
{
  color: #aaa;
}

#store-form .coupon-input-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  
}

#store-form #coupon-discount, 
#store-form #renew-price, 
#store-form #volume-discount-price,
#store-form #reseller-price {
  font-weight: bold;    
}

.dark-mode #store-form #coupon-discount,
.dark-mode #store-form #renew-price, 
.dark-mode #store-form #volume-discount-price {
  font-weight: bold;  
}

.discount-color {
  color: #3d8b3d;
}

.dark-mode .discount-color {
  color: #5a915a;
}

input.custom-checkbox[onclick="return false;"] {
  pointer-events: none; 
  opacity: 0.5;         
  filter: grayscale(100%);
}

/*
#store-form .maintenance label {
  display: block;
}
*/

#store-form .total {
  font-size: 16px;
  text-align: right;
}

#store-form .vat {
  font-size: 12px;
  color: gray;
}



#store-form .coupon-section {
  grid-area: coupon-section;
  padding-bottom: 10px !important;
}

.product-summary {
  grid-area: product-summary;
}

.license-section {
  grid-area: license-section;
}

.maintenance-section {
  grid-area: maintenance-section;
}

.pricing-section {
  grid-area: pricing-section;
  text-align: right;
  font-size: 2em;
  margin-bottom: 30px;
}

.personal-info {
  grid-area: personal-info;
}

.payment-methods {
  grid-area: payment-methods;
}

.address-section {
  grid-area: address-section;
}

.actions {
  grid-area: actions;
  text-align: center;
}

.vat-container {
  display: flex;
  gap: 5px;
}

#edit-vat-prefix {
  pointer-events: none;
  user-select: none;
  outline: none;
  border-style: dotted !important;
  width: 50px;
  text-align: center;
  cursor: default;
  color: #616161;
  box-sizing: border-box;
}

.dark-mode #edit-vat-prefix {
  color: #9e9e9e;
}

.vat-prefix::selection, 
.vat-prefix::-moz-selection, 
.vat-prefix::-webkit-selection {
  background: transparent;     /* Removes selection highlight */
}

#store-form .dfields {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}

#store-form .sfield {
  flex: 1;
}

#store-form .smfield:first-child {
  flex: 3;
}

#store-form .smfield:last-child {
  flex: 2;
}

#store-form #paypal-button {
  margin-top: 25px;
}

#store-form .cardbackground {
  padding: 5px 15px;
  background-color: #d7ebff;
  border: 1px solid #d1d1d1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dark-mode #store-form .cardbackground {
  background-color: #222429;
  border: 1px solid #444;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


form#store-form div[id^="card-"],
form#store-form div[id^="expiration-"],
form#store-form div[id^="cvv"] {
  all: unset;
  display: block;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  font-size: 14px;
  height: 1em;
}

.dark-mode form#store-form div[id^="card-"],
.dark-mode form#store-form div[id^="expiration-"],
.dark-mode form#store-form div[id^="cvv"] {
  border: 1px solid #aaa;
  background-color: #ccc;
}

.card-details {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.card-detail {
  flex: 1;
  min-width: 90px;
}

form#store-form div#cvv,
form#store-form div#expiration-date {
  width: 110px;
}


form#store-form div[id^="card-"]:focus,
form#store-form div[id^="expiration-"]:focus,
form#store-form div[id^="cvv"]:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 3px rgba(26, 115, 232, 0.5);
}


.braintree-error {
  display: none;
  color: red;
  font-size: 12px;
  margin-bottom: 15px;
}

.success-product-key-label {
  margin-top: 30px; 
  font-size: 1.2em;
}

.success-product-key {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center; 
  background-color: #d4f8c4;
  padding: 10px 15px;
  font-size: 1.8em;
  font-weight: bold;
  border-radius: 5px;
  border: 2px solid #90c97f;
  margin-top: 5px;
  margin-bottom: 40px;
}

.success-product-key.small {
  width: 30%;
}

.dark-mode .success-product-key {
  background-color: #8fc777;
  border: 2px solid #649755;
}

.dark-mode .success-product-key {
  color: #313131;
}

.copy-to-clipboard {
  font-size: 0.6em;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.copy-to-clipboard:hover {
  transform: scale(1.3) rotate(-5deg);
}

@media (max-width: 768px) {
  .product-image {
    flex: 0 0 150px;
  }
}

@media (max-width: 500px) {
  .store-inner-row {
    flex-direction: column;
  }

  #store-form .fixed {
    height: auto;
  }

  .cart-item {
    flex-direction: column;
  }

  .product-image,
  .product-details {
    flex: 1 1 100%;
    
  }

  .product-image {
    width: 130px !important;
    margin: 0 auto;
    padding: 0 !important;
  }
}


@media (max-width: 768px) {
  #store-form .checkout-form {
    grid-template-areas:
      "product-summary"
      "personal-info"
      "address-section"
      "payment-methods";
    grid-template-columns: 1fr;
  }
}

/*
#license-count::-webkit-inner-spin-button,
#license-count::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#license-count {
  -moz-appearance: textfield;
}*/

h2.partner-header {
  background-color: #3bb1ff;
  color: #ffffff;
  padding: 10px;
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 5px;
  margin-bottom: 20px;
}

.dark-mode h2.partner-header  {
  color: #fff !important;
}

.quote-banner {
  background-color: #ffcc00;
  color: #333;
  padding: 10px;
  text-align: center;
  font-size: 0.9em;
  border-radius: 5px;
  margin-bottom: 20px;
}