input, textarea, select {
    outline: unset;
}

.kb-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    user-select: none;
}

.kb-checkout-step-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    border-width: 0px 0px 3px;
    border-style: solid;
    border-color: unset;
}

.kb-checkout-step-wrap {
    width: 50%;
    flex: 0 0 50%;
}

div.kb-form-element {
    position: relative;
    display: flex;
    transition: 0.2s ease;
}

div.kb-form-element>div.kb-form-element-wrap {
    width: -webkit-fill-available;
    height: auto;
    display: flex;
    justify-content: inherit;
    align-items: inherit;
    gap: inherit;
    overflow-wrap: break-word;
}

.kb-form-element:not(.kb-form-input-container), .kb-form-checkout-input {
    width: 100%;
}

.kb-form-element.kb-form-input-container .kb-form-input {
    width: 100%;
}

.kb-form-element.kb-form-input-container .kb-form-element-wrap {
    flex-direction: inherit;
}

.kb-select-wrapper {
    position: relative;
    width: 100%;
}

.kb-select-selected {
    cursor: pointer;
    position: relative;
}

.kb-select-selected:after {
    content: "";
    position: absolute;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #ccc transparent transparent transparent;
    top: calc(50% - 3px);
}

.kb-select-selected.kb-select-arrow-active:after {
    transform: rotate(180deg);
    top: 25%;
}

.kb-select-items {
    position: absolute;
    left: 0;
    background-color: inherit;
    border-top: none;
    border-width: inherit;
    border-style: inherit;
    border-color: inherit;
    border-radius: inherit;
    z-index: 99;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    box-sizing: border-box;
}

.kb-select-items div {
    cursor: pointer;
    transition: all 0.1s ease;
}

.kb-select-items div:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.kb-select-items div:hover, .kb-select-items div.selected {
    background-color: rgba(0, 0, 0, 0.1);
}

.kb-select-hide {
    display: none;
}

span.kb-form-field-error, .kb-form-card-invalid {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #dc3545;
    text-transform: capitalize;
}

.kb-form-input-error { 
    border: 2px solid #dc3545!important;
}

.kb-form-block-container.kb-form-auto-layout,
.kb-form-block-container.kb-field-col-half {
    display: flex;
    flex-wrap: wrap;
}

.kb-form-block-container.kb-field-col-half .kb-form-element.kb-form-input-container:not(.kb-form-checkout-input) {
    max-width: 50%!important;
}

.kb-form-rc-label {
    cursor: pointer;
    display: flex;
    gap: 6px;
    align-items: center;
}

.kb-card-field {
    width: 100%;
    display: flex;
    flex-direction: row;
    color: inherit;
    opacity: 0.6;
}

.kb-card-field span:first-child {
    flex: 3;
}

.kb-card-field span:not(:first-child) {
    flex: 1;
}

.kb-form-product table {
    width: 100%;
}

.kb-form-product-head th {
    border-bottom: 1px solid #DDD;
}

.kb-form-product-head th, .kb-form-product-body td {
    text-align: left;
    padding: 4px;
}

.kb-form-order-summary.kb-form-label {
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: space-between;
    align-items: center;
}

.kb-form-order-summary.kb-form-label:before, .kb-form-order-summary.kb-form-label:after {
    content: '';
    width: 40%;
}

.kb-form-order-summary.kb-form-label:before, .kb-form-order-summary.kb-form-label:after,
.kb-form-order-total.kb-form-product-head {
    border-top: 1px solid #DDD;
}

img.kb-form-image {
    max-width: 100%;
}

input:focus, textarea:focus, select:focus, 
input:focus-visible, textarea:focus-visible, select:focus-visible,
input:focus-within, textarea:focus-within, select:focus-within {
    outline: none;
}

.kb-form-element-wrap input[type="checkbox"],
.kb-form-rc-label input[type="checkbox"],
.kb-form-element-wrap input[type="radio"],
.kb-form-rc-label input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    min-width: 16px;
    height: 16px;
    min-height: 16px;
    background-color: #eeeeee;
    color: #5f6264;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 8px;
    margin: 0px;
  }

  .kb-form-element-wrap input[type="checkbox"],
  .kb-form-rc-label input[type="checkbox"] {
    border-radius: 4px;
  }

  .kb-form-element-wrap input[type="radio"],
  .kb-form-rc-label input[type="radio"] {
    border-radius: 50%;
  }

  .kb-form-element-wrap input[type="checkbox"]:checked::before, 
  .kb-form-rc-label input[type="checkbox"]:checked::before, 
  .kb-form-element-wrap input[type="radio"]:checked::before,
  .kb-form-rc-label input[type="radio"]:checked::before {
    position: absolute;
    top: 50%;
    left: 50%;
    color: inherit;
    transform: translate(-50%, -50%);
  }

  .kb-form-element-wrap input[type="checkbox"]:checked::before, 
  .kb-form-rc-label input[type="checkbox"]:checked::before {
    content: '\2714';
    font-size: 14px;
  }

  .kb-form-element-wrap input[type="radio"]:checked::before, 
  .kb-form-rc-label input[type="radio"]:checked::before {
    content: '\25CF';
    font-size: 18px;
  }

  input::placeholder, textarea::placeholder {
    color: inherit;
    opacity: 0.6;
  }

  .kb-form-element.kb-form-input-container .kb-form-input .kb-form-input-error {
    border: 1px solid #dc3545!important;
  }

.kb-form-product-quantity-input {
    padding: 5px;
    font-size: 14px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    width: 60px;
    background-color: #f9f9f9;
    box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.kb-form-product-quantity-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}


.kb-form-coupon-section {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.kb-form-coupon-input {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #dcdcdc;
    border-radius: 5px 0 0 5px;
    width: 200px;
    box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1);
}

.kb-form-coupon-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.kb-form-coupon-btn {
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    transition: background-color 0.3s ease;
}

.kb-form-coupon-btn:hover {
    background-color: #0056b3;
}

.kb-form-coupon-btn:active {
    background-color: #004085;
}

.kb-form-coupon-btn:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
.kb-msg-text{
    font-size: 0.6rem;
}

.kb-checkout-disabled {
    pointer-events: none;
    opacity: 0.6;
}


.kb-order-bump {
    background-color: #fff9c4; 
    border: 1px dashed #d3d3d3; 
    padding: 10px;
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.kb-order-bump label {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: green;
    margin: 0;
}

.kb-order-bump label input[type="checkbox"] {
    margin-right: 10px;
}

.kb-order-bump .bump-icon {
    margin-right: 10px;
    font-size: 24px;
    color: orange;
}



.kb-form-wrapper .kb-form-disabled, .kb-button-block:disabled {
    pointer-events: none;
    user-select: none;
}

.kb-form-wrapper .kb-form-disabled::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.1);
    pointer-events: none;
    user-select: none;
}

.kb-form-wrapper .kb-form-disabled::after {
    content: '';
    display: inline-block;
    width: 100px;
    height: 100px;
    border: 10px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: #2e2e2e;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    z-index: 999;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.kb-back-button-container {
    border: none;
    color: #333333;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
}

.kb-back-button-container:hover {
    border-bottom: 1px solid orchid;
    color: orchid;
}

textarea {
    height: 56px;
    min-height: 20px;
}

.kb-forgot-password-wrap {
    font-size: 13px;
    margin-top: 10px;
    font-weight: 500;
}

.kb-form-message {
    font-weight: 600;
    margin-bottom: 10px;
    width: 100%;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 16px;    
}

.kb-form-success-message {
    color: #198754;
    background-color: rgb(25 135 84 / 20%);
}

.kb-form-error-message {
    color: #dc3545;
    background-color: rgb(220 53 69 / 20%);
}

button.kb-button-block:disabled {
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.4);
}

.kb-input-visible-toggle {
    cursor: pointer;
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 8px;
    font-size: 95%;
}

.kb-input-visible-toggle:before {
    content: '';
    position: absolute;
    width: 2px;
    height: 0%;
    transform: rotate(-45deg);
    border-radius: 1px;
    transition: 0.1s ease;
    background-color: var(--toggle-line-color);
}

.kb-input-visible-toggle.kb-input-visible-slash:before {
    height: 90%;
}