/**
 * WooCommerce Lightspeed Gift Card - Checkout Styles
 */

.woocommerce-lightspeed-giftcard {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

.woocommerce-lightspeed-giftcard h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.woocommerce-lightspeed-giftcard .form-row {
    margin-bottom: 15px;
}

.woocommerce-lightspeed-giftcard #validate-giftcard-btn,
.woocommerce-lightspeed-giftcard #remove-giftcard-btn {
    margin-right: 10px;
}

.woocommerce-lightspeed-giftcard #giftcard-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.woocommerce-lightspeed-giftcard #giftcard-message.woocommerce-message {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.woocommerce-lightspeed-giftcard #giftcard-message.woocommerce-error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.woocommerce-lightspeed-giftcard label[for="lightspeed_giftcard_code"],
.wc-lightspeed-gc-block label[for="lightspeed_giftcard_code"] {
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
    color: #1d2327;
}

.woocommerce-lightspeed-giftcard .woocommerce-input-wrapper,
.wc-lightspeed-gc-block .components-base-control__field {
    width: 100%;
}

.woocommerce-lightspeed-giftcard input#lightspeed_giftcard_code,
.wc-lightspeed-gc-block input#lightspeed_giftcard_code {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    background: #f7f7f7;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.4;
}

.woocommerce-order-lightspeed-giftcard {
    margin: 30px 0;
}

.woocommerce-order-lightspeed-giftcard__title {
    margin-bottom: 15px;
}

.wc-lightspeed-gc-block__actions {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.wc-lightspeed-gc-block .components-notice {
    margin-top: 10px;
}

/* Block-based Cart & Checkout */
.wc-lightspeed-gc-block {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    padding: 1.5rem;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.wc-block-components-sidebar-layout .wc-lightspeed-gc-block {
    margin-top: 0;
}

.wc-lightspeed-gc-block .components-text-control__input {
    width: 100%;
}

.wc-lightspeed-gc-block__balance {
    margin: 0 0 5px;
    color: #1d2327;
}

