/* TESCO Bill Checker v6 - Simple & Reliable */
.tesco-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    max-width: 520px;
    margin: 0 auto;
    padding: 20px;
    color: #1a1a1a;
}
.tesco-wrap * { box-sizing: border-box; }

.tesco-hero { text-align: center; margin-bottom: 28px; }
.tesco-hero .tesco-icon {
    width: 56px; height: 56px; margin: 0 auto 12px;
    background: var(--tesco-primary, #1255E7); border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; box-shadow: 0 4px 12px rgba(18,85,231,0.25);
}
.tesco-hero .tesco-icon svg { width: 28px; height: 28px; }
.tesco-hero h2 { font-size: 24px; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.3px; }
.tesco-hero p { font-size: 14px; color: #777; margin: 0; }

.tesco-card {
    background: #fff; border: 1px solid #e8e8e8; border-radius: 16px;
    padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 16px;
}

.tesco-tabs {
    display: flex; gap: 4px; margin-bottom: 20px;
    padding: 4px; border-radius: 12px; background: #f2f5fb;
}
.tesco-tabs .tesco-tab {
    flex: 1; height: 40px; padding: 0 12px; border: none; border-radius: 9px;
    font-family: inherit; font-size: 14px; font-weight: 600; color: #667;
    background: transparent; cursor: pointer; transition: all 0.2s ease;
}
.tesco-tabs .tesco-tab:hover { color: var(--tesco-primary, #1255E7); }
.tesco-tabs .tesco-tab.is-active {
    background: var(--tesco-primary, #1255E7); color: #fff;
    box-shadow: 0 2px 8px rgba(18,85,231,0.28);
}

.tesco-field { margin-bottom: 16px; }
.tesco-field label {
    display: block; font-size: 12px; font-weight: 600; color: #555;
    margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.4px;
}
.tesco-field input[type="text"] {
    width: 100%; height: 52px; padding: 0 16px;
    border: 1.5px solid #e5e5e5; border-radius: 12px;
    font-size: 16px; color: #1a1a1a; background: #fafafa; outline: none;
    transition: all 0.2s ease; font-variant-numeric: tabular-nums;
}
.tesco-field input[type="text"]:focus {
    border-color: var(--tesco-primary, #1255E7); background: #fff;
    box-shadow: 0 0 0 4px rgba(18,85,231,0.08);
}
.tesco-field input[type="text"]::placeholder { color: #bbb; }

.tesco-btn {
    width: 100%; height: 52px; display: flex; align-items: center; justify-content: center;
    gap: 10px; border: none; border-radius: 12px; font-size: 16px; font-weight: 600;
    cursor: pointer; transition: all 0.2s ease;
    background: var(--tesco-primary, #1255E7); color: #fff;
    box-shadow: 0 4px 14px rgba(18,85,231,0.3);
}
.tesco-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(18,85,231,0.35); }
.tesco-btn:active { transform: scale(0.98); }
.tesco-btn svg { width: 20px; height: 20px; }

.tesco-note {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px; border-radius: 10px;
    background: #eef3fe; color: #555; font-size: 13px;
}
.tesco-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--tesco-primary, #1255E7); }

@media (max-width: 480px) {
    .tesco-wrap { padding: 16px; }
    .tesco-card { padding: 20px; }
}
