/* Elite Web Technology Gateway - Blocks Checkout Styles */

.ewt-card-form {
    margin-top: 8px;
}

.ewt-card-form__description {
    font-size: 13px;
    color: #555;
    margin-bottom: 14px;
    margin-top: 0;
}

.ewt-card-form__field {
    margin-bottom: 12px;
}

.ewt-card-form__field label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.ewt-card-form__input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ewt-card-form__input {
    width: 100%;
    padding: 10px 12px;
    padding-right: 75px; /* Leave space for card icon badge */
    border: 1px solid #d4d9df;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    color: #333;
    background: #fff;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.ewt-card-form__input:focus {
    border-color: #2c7be5;
    box-shadow: 0 0 0 2px rgba(44, 123, 229, 0.15);
}

.ewt-card-form__input.has-error {
    border-color: #e11d48 !important;
}

.ewt-card-form__input.has-error:focus {
    box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.15) !important;
}

.ewt-card-form__error-message {
    display: block;
    color: #e11d48;
    font-size: 11px;
    margin-top: 4px;
    font-weight: 500;
}

.ewt-card-form__brand-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    pointer-events: none;
    transition: all 0.2s ease;
}

.ewt-card-form__row {
    display: flex;
    gap: 12px;
    margin-bottom: 4px;
}

.ewt-card-form__col {
    flex: 1;
}
