/* TikTok Gift Points Calculator — styles */

.tgpc-wrap {
    max-width: 560px;
    margin: 24px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
    box-sizing: border-box;
}

.tgpc-wrap *,
.tgpc-wrap *::before,
.tgpc-wrap *::after {
    box-sizing: border-box;
}

.tgpc-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
}

.tgpc-header {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.tgpc-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.3;
    color: #111;
}

.tgpc-sub {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.tgpc-field {
    margin-bottom: 18px;
}

.tgpc-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 7px;
}

.tgpc-field input,
.tgpc-field select {
    width: 100%;
    padding: 11px 14px;
    font-size: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    line-height: 1.4;
}

.tgpc-field input:focus,
.tgpc-field select:focus {
    outline: none;
    border-color: var(--tgpc-accent, #fe2c55);
    box-shadow: 0 0 0 3px var(--tgpc-accent-bg, rgba(254, 44, 85, 0.12));
}

.tgpc-field select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath fill='%23666' d='M6 9L1 4h10z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.tgpc-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
}

.tgpc-stat {
    background: #f8f9fb;
    border-radius: 10px;
    padding: 14px;
    text-align: left;
}

.tgpc-stat-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
    line-height: 1.3;
}

.tgpc-stat-value {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #111;
    line-height: 1.2;
}

.tgpc-stat-highlight {
    background: var(--tgpc-accent-bg, #fff1f4);
}

.tgpc-stat-highlight .tgpc-stat-value {
    color: var(--tgpc-accent, #fe2c55);
}

.tgpc-disclaimer {
    font-size: 12px;
    color: #9ca3af;
    margin: 18px 0 0;
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .tgpc-card {
        padding: 20px;
    }
    .tgpc-row {
        grid-template-columns: 1fr;
    }
    .tgpc-stat-value {
        font-size: 22px;
    }
}
