/* EM Gift Cards – Checkout redemption field
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');

.emgc-checkout-wrap,
.emgc-checkout-wrap * {
    font-family: 'Playfair Display', Georgia, serif;
}

.emgc-checkout-wrap {
    margin: 0 0 28px;
    padding: 20px 22px;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    background: #fafafa;
}

.emgc-checkout-title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.emgc-input-row {
    display: flex;
    gap: 8px;
}

.emgc-input-row input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: border-color .15s;
    background: #fff;
}

.emgc-input-row input:focus {
    border-color: #1a1a1a;
    outline: none;
}

.emgc-input-row .button {
    white-space: nowrap;
    padding: 10px 20px;
    font-size: 14px;
}

.emgc-feedback {
    margin: 10px 0 0;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 4px;
}

.emgc-feedback.success {
    color: #155724;
    background: #d4edda;
    border-left: 3px solid #28a745;
}

.emgc-feedback.error {
    color: #721c24;
    background: #f8d7da;
    border-left: 3px solid #dc3545;
}

/* Applied cards list */
.emgc-applied-list {
    margin-bottom: 14px;
}

.emgc-applied-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.emgc-applied-code {
    font-family: monospace;
    font-weight: 600;
    letter-spacing: 1px;
    color: #1a1a1a;
    flex: 1;
}

.emgc-applied-amount {
    color: #28a745;
    font-weight: 600;
}

.emgc-remove-code {
    background: none;
    border: none;
    color: #c0392b;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    transition: background .15s;
}

.emgc-remove-code:hover {
    background: #fdf2f2;
}
