.tcv-wrap{max-width:95%;font-family:inherit}
.tcv-wrap label{display:block;font-weight:600;margin-bottom:.5rem}
.tcv-row{display:flex;gap:.5rem}
#tcv-input{flex:1;padding:.6rem .9rem;font-size:1rem;border:2px solid #d1d5db;border-radius:6px;transition:border-color .2s}
#tcv-input:focus{outline:none;border-color:#0079c1}
#tcv-btn{padding:.6rem 1.2rem;font-size:1rem;font-weight:600;color:#fff;background:#0079c1;border:none;border-radius:6px;cursor:pointer;white-space:nowrap;transition:background .2s}
#tcv-btn:hover{background:#005f99}
#tcv-btn:disabled{opacity:.6;cursor:not-allowed}
.tcv-hint{margin:.4rem 0 0;font-size:.8rem;color:#6b7280}

/* Karty wynikow */
.tcv-card{margin-top:1.25rem;padding:1.25rem 1.5rem;border-radius:8px;border-left:4px solid transparent}
.tcv-card--success{background:#f0fdf4;border-left-color:#22c55e}
.tcv-card--expired{background:#fffbeb;border-left-color:#f59e0b}
.tcv-card--error{background:#fef2f2;border-left-color:#ef4444;display:flex;align-items:flex-start;gap:.75rem}
.tcv-card--error p{margin:0;color:#b91c1c}

/* Naglowek karty */
.tcv-card__header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:1.05rem}
.tcv-icon{font-size:1.2rem;line-height:1}
.tcv-card--success .tcv-icon{color:#16a34a}
.tcv-card--expired .tcv-icon{color:#d97706}
.tcv-card--error   .tcv-icon{color:#dc2626}

/* Pasek statusu */
.tcv-status{display:inline-block;padding:.25rem .75rem;border-radius:99px;font-size:.8rem;font-weight:600;margin-bottom:.85rem}
.tcv-status--valid{background:#dcfce7;color:#15803d}
.tcv-status--expired{background:#fef9c3;color:#92400e}

/* Lista danych */
.tcv-dl{display:grid;grid-template-columns:14rem 1fr;row-gap:.45rem;column-gap:.75rem;margin:0}
.tcv-dl dt{font-weight:600;color:#374151}
.tcv-dl dd{margin:0;color:#111827;word-break:break-word}

/* Przycisk pobierania */
.tcv-dl-btn{display:inline-block;margin-top:1rem;padding:.55rem 1.1rem;font-size:.9rem;font-weight:600;color:#fff;background:#0079c1;border-radius:6px;text-decoration:none;transition:background .2s}
.tcv-dl-btn:hover{background:#005f99;color:#fff}

/* Waznosc */
.tcv-expiry{font-size:.85rem;font-weight:500}
.tcv-expiry--valid{color:#15803d}
.tcv-expiry--expired{color:#b45309}

@media(max-width:420px){
    .tcv-row{flex-direction:column}
    .tcv-dl{grid-template-columns:1fr}
    .tcv-dl dt{margin-top:.25rem}
}
