/* telecomanda.css — pagina telecomenzii */

.tc-container {
    max-width: 720px;
}

.tc-titlu {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 2rem 0 0.75rem;
}

.tc-mic {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ── Ce poate și ce nu poate o pagină ────────────────────────────────────── */
.tc-adevar {
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-left-width: 4px;
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.tc-adevar h2 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.tc-adevar p {
    margin-bottom: 0.6rem;
}

.tc-adevar p:last-child {
    margin-bottom: 0;
}

/* ── Verdictul despre infraroșu ──────────────────────────────────────────── */
.tc-ir {
    border-radius: 14px;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
}

.tc-ir-cap {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.tc-ir p {
    margin-bottom: 0.35rem;
}

.tc-ir p:last-child {
    margin-bottom: 0;
}

.tc-ir code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.05rem 0.35rem;
    border-radius: 6px;
}

.tc-are {
    border-color: rgba(34, 197, 94, 0.45);
    background: rgba(34, 197, 94, 0.1);
}

.tc-are .tc-ir-cap {
    color: #4ade80;
}

.tc-n-are {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.09);
}

.tc-n-are .tc-ir-cap {
    color: #fca5a5;
}

.tc-nu-stiu {
    border-color: rgba(148, 163, 184, 0.4);
}

.tc-nu-stiu .tc-ir-cap {
    color: #cbd5e1;
}

.tc-urmare {
    margin-top: 0.9rem;
    padding: 0.9rem 1.15rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tc-urmare h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* ── Legarea la televizor ────────────────────────────────────────────────── */
.tc-intro {
    margin-bottom: 0.9rem;
}

.tc-legare {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.tc-camp {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    flex: 1 1 12rem;
}

.tc-camp input {
    /* Sub 1rem, telefonul mărește singur pagina când intri în câmp. */
    font-size: 1rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.25);
    color: inherit;
}

/* Merge deopotrivă pe <button> și pe <a>: unele „butoane" de aici sunt legături
   adevărate — cea către certificatul televizorului, cea de descărcat aplicația. */
.tc-btn {
    display: inline-block;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    border: 0;
    background: linear-gradient(135deg, #2b5cff, #7b3cff);
    color: #fff;
    cursor: pointer;
}

.tc-btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: inherit;
}

.tc-stare {
    min-height: 1.4rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.tc-stare.tc-bun {
    color: #4ade80;
}

.tc-stare.tc-rau {
    color: #fca5a5;
}

/* ── Tastele ─────────────────────────────────────────────────────────────── */
.tc-taste {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.tc-rand {
    display: flex;
    gap: 0.6rem;
}

/* Tastele sunt mari dinadins: se apasă cu degetul, pe întuneric, fără să te uiți. */
.tc-tasta {
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    font-size: 1.25rem;
    cursor: pointer;
    transition: transform 0.08s, background 0.15s;
}

.tc-tasta:active:not(:disabled) {
    transform: scale(0.92);
    background: rgba(255, 255, 255, 0.16);
}

.tc-tasta:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.tc-tasta.e-rosu {
    background: rgba(239, 68, 68, 0.22);
    border-color: rgba(239, 68, 68, 0.5);
    color: #fca5a5;
}

.tc-tasta.e-ok {
    background: linear-gradient(135deg, #2b5cff, #7b3cff);
    border-color: transparent;
    color: #fff;
}

/* ── Ajutor și alte televizoare ──────────────────────────────────────────── */
.tc-ajutor {
    margin-bottom: 1.25rem;
}

.tc-ajutor summary {
    cursor: pointer;
    font-weight: 700;
}

.tc-ajutor ol {
    margin-top: 0.7rem;
    padding-left: 1.2rem;
}

.tc-ajutor li {
    margin-bottom: 0.5rem;
}

.tc-ajutor code,
.tc-alte code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.05rem 0.35rem;
    border-radius: 6px;
    word-break: break-all;
}

.tc-alte {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.tc-alte h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.tc-alte ul {
    padding-left: 1.2rem;
}

.tc-alte li {
    margin-bottom: 0.35rem;
}

@media (max-width: 480px) {
    .tc-tasta {
        width: 3.6rem;
        height: 3.6rem;
        font-size: 1.1rem;
    }
}
