/* TK Gift Cards — Product Page & Checkout */

.tk-gc-form {
    margin: 0 0 20px;
}

.tk-gc-section {
    margin-bottom: 20px;
}

.tk-gc-label {
    margin: 0 0 8px;
    font-size: 14px;
}

/* Denomination picker */
.tk-gc-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.tk-gc-amount-option {
    cursor: pointer;
}

.tk-gc-amount-option input[type="radio"] {
    display: none;
}

.tk-gc-amount-option span {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    transition: border-color .15s, background .15s;
    cursor: pointer;
    user-select: none;
}

.tk-gc-amount-option input[type="radio"]:checked + span {
    border-color: #c0392b;
    background: #fdf3f2;
    color: #c0392b;
}

.tk-gc-amount-option span:hover {
    border-color: #999;
}

.tk-gc-custom-wrap {
    margin-top: 8px;
}

.tk-gc-custom-wrap label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

.tk-gc-custom-wrap input {
    max-width: 160px;
}

/* Checkout redemption */
.tk-gc-redeem-wrap {
    margin-bottom: 20px;
    padding: 16px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.tk-gc-redeem-wrap h3 {
    margin: 0 0 12px;
    font-size: 14px;
}

#tk-gc-applied-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    font-size: 13px;
}

#tk-gc-applied-list li {
    padding: 4px 0;
}

/* Admin panel card */
.tk-gc-panel {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 20px 24px;
}

.tk-gc-panel h2 {
    margin-top: 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #50575e;
    border-bottom: 1px solid #f0f0f1;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

/* Badges (reuse from SMS plugin style) */
.tk-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.tk-badge-green  { background: #d5f5e3; color: #1e8449; }
.tk-badge-grey   { background: #f0f0f1; color: #50575e; }
.tk-badge-red    { background: #fce8e8; color: #c0392b; }
.tk-badge-yellow { background: #fef9e7; color: #9a6400; }

/* ---- Balance check (public) + My Account ---- */
.tk-gc-balance-check { max-width: 480px; }
.tk-gc-balance-row { display: flex; gap: 8px; margin-top: 6px; }
.tk-gc-balance-row input { flex: 1; text-transform: uppercase; letter-spacing: 1px; }
.tk-gc-balance-msg { font-size: 14px; color: #787c82; min-height: 1em; margin: 8px 0 0; }
.tk-gc-balance-card { margin-top: 16px; padding: 24px; border: 1px solid #e6e6ea; border-radius: 12px; text-align: center; background: #fff; }
.tk-gc-balance-amount { font-size: 44px; font-weight: 800; color: #1d1d1f; line-height: 1; }
.tk-gc-balance-status { margin-top: 10px; }
.tk-gc-balance-activity { list-style: none; padding: 0; margin: 18px 0 0; text-align: left; }
.tk-gc-balance-activity li { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid #f0f0f1; font-size: 14px; }
.tk-gc-balance-activity small { color: #999; }
.tk-gc-balance-activity .pos { color: #1e8449; font-weight: 700; }
.tk-gc-balance-activity .neg { color: #c0392b; font-weight: 700; }
.tk-gc-account-table code { font-size: 14px; letter-spacing: 1px; }
.tk-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tk-badge-green { background: #e6f4ec; color: #1e8449; }
.tk-badge-grey { background: #ececed; color: #787c82; }
.tk-badge-red { background: #fdecea; color: #c0392b; }
