/**
 * JWR Payment Gateway - Payment Form Styles
 */

/* 卡号输入框容器 - 相对定位 */
.wc-gateway-card-input-wrapper {
    position: relative;
    display: block;
}

/* 卡号输入框 - 为图标留出空间 */
.wc-gateway-card-input-wrapper input.input-text {
    padding-right: 85px !important;
}

/* 卡类型图标容器 */
.wc-gateway-card-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* 卡类型图标 SVG */
.wc-gateway-card-icon svg,
.wc-gateway-card-icon .card-icon-img2 {
    width: 100%;
    height: 100%;
    max-width: 70px;
    max-height: 48px;
}

/* 默认锁图标样式 */
.wc-gateway-card-icon .lock-icon {
    width: 16px;
    height: 16px;
    color: #9ca3af;
}

.wc-gateway-card-icon .lock-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

/* CVV 提示图标 */
.wc-gateway-cvv-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: #9ca3af;
    pointer-events: none;
}

.wc-gateway-cvv-icon svg {
    width: 100%;
    height: 100%;
}

