﻿code.hl-verb {
    color: #4da3ff;
    background: rgba(77,163,255,.16);
    border: 1px solid rgba(77,163,255,.35);
    font-weight: 800;
    box-shadow: 0 0 0 2px rgba(77,163,255,.08) inset;
}

code.hl-aux {
    color: #ff5b5b;
    background: rgba(255,91,91,.16);
    border: 1px solid rgba(255,91,91,.35);
    font-weight: 800;
    box-shadow: 0 0 0 2px rgba(255,91,91,.08) inset;
}
/* ===== AUTH (Login Glassmorphism) ===== */
.auth-bg {
    min-height: calc(100vh - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
    /* fondo tipo imagen: múltiples gradientes */
    background: radial-gradient(900px 600px at 20% 20%, rgba(170, 70, 255, .35), transparent 60%), radial-gradient(900px 600px at 80% 30%, rgba(255, 70, 130, .35), transparent 60%), radial-gradient(900px 600px at 70% 85%, rgba(80, 140, 255, .45), transparent 60%), linear-gradient(135deg, rgba(10, 12, 25, 1), rgba(10, 12, 25, .95));
    border-radius: 18px;
}

.auth-card {
    width: min(420px, 92vw);
    padding: 26px 26px 22px;
    border-radius: 26px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 18px 60px rgba(0,0,0,.45);
    /* efecto glass */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
}

    .auth-card::before {
        content: "";
        position: absolute;
        inset: -2px;
        background: radial-gradient(500px 220px at 15% 20%, rgba(255, 70, 130, .18), transparent 60%), radial-gradient(420px 220px at 90% 25%, rgba(100, 160, 255, .18), transparent 60%);
        pointer-events: none;
    }

.auth-avatar {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    margin: 6px auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    position: relative;
    z-index: 1;
}

    .auth-avatar svg {
        width: 40px;
        height: 40px;
        fill: rgba(255,255,255,.75);
    }

.auth-title {
    margin: 6px 0 2px;
    text-align: center;
    font-size: 22px;
    letter-spacing: .5px;
    position: relative;
    z-index: 1;
}

.auth-sub {
    margin: 0 0 18px;
    text-align: center;
    color: rgba(255,255,255,.70);
    font-size: 13px;
    position: relative;
    z-index: 1;
}

.auth-form {
    position: relative;
    z-index: 1;
}

.auth-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    margin: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.35);
}

.auth-ico {
    width: 22px;
    display: inline-flex;
    justify-content: center;
    opacity: .85;
}

.auth-input {
    width: 100%;
    background: transparent;
    border: 0;
    outline: none;
    color: rgba(255,255,255,.92);
    font-size: 14px;
    padding: 8px 6px;
}

    .auth-input::placeholder {
        color: rgba(255,255,255,.55);
    }

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 10px 0 18px;
    font-size: 12px;
    color: rgba(255,255,255,.70);
}

.auth-check {
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

    .auth-check input {
        width: 14px;
        height: 14px;
        accent-color: #6aa9ff;
    }

.auth-link {
    color: rgba(255,255,255,.75);
    text-decoration: none;
}

    .auth-link:hover {
        text-decoration: underline;
    }

.auth-btn {
    width: 100%;
    border: 0;
    padding: 12px 14px;
    border-radius: 16px;
    cursor: pointer;
    color: rgba(255,255,255,.92);
    font-weight: 800;
    letter-spacing: 1.5px;
    background: linear-gradient(90deg, rgba(255, 70, 130, .75), rgba(120, 90, 255, .75), rgba(90, 150, 255, .75) );
    box-shadow: 0 14px 30px rgba(0,0,0,.35);
}

    .auth-btn:hover {
        filter: brightness(1.05);
        transform: translateY(-1px);
    }

.auth-error {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 70, 70, .12);
    border: 1px solid rgba(255, 70, 70, .25);
    color: rgba(255, 210, 210, .95);
    font-size: 13px;
}

.auth-mini {
    margin-top: 12px;
    color: rgba(255,255,255,.65);
    font-size: 12px;
    line-height: 1.5;
}
/* ====== TENSES LAYOUT (como screenshot + responsive) ====== */
.t-top {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 18px;
    align-items: start;
    margin-top: 10px;
}

.t-verbCard {
    background: rgba(18,26,42,.75);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.t-imgBox {
    background: #0f1626;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* como tu screenshot */
}

.t-imgPh {
    padding: 14px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.t-imgLabel {
    padding: 10px 12px;
    text-align: center;
    font-weight: 800;
    letter-spacing: 1px;
    color: #cfe0ff;
    border-top: 1px solid rgba(42,53,82,.65);
}

.t-verbInfo {
    background: rgba(18,26,42,.35);
    border: 1px solid rgba(42,53,82,.55);
    border-radius: 14px;
    padding: 14px;
    min-height: 210px;
}

.t-line {
    margin: 6px 0;
}

.t-meta {
    margin-top: 10px;
}

.t-title {
    margin: 0 0 10px;
    font-size: 22px;
}

.t-verbTitle {
    color: var(--accent);
    font-weight: 800;
}

.t-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.t-card {
    padding: 14px;
}

/* ====== Controls responsive ====== */
.t-controls label {
    flex: 1 1 220px;
}

.t-controls input {
    min-width: 0;
    width: 100%;
}

/* ====== Mobile ====== */
@media (max-width: 900px) {
    .t-top {
        grid-template-columns: 1fr;
    }

    .t-verbInfo {
        min-height: auto;
    }

    .t-grid {
        grid-template-columns: 1fr;
    }

    .t-title {
        font-size: 18px;
    }
}
.tv-admin-wrap {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 24px;
    padding: 24px;
}

.tv-form-panel,
.tv-grid-panel {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
}

.form-group {
    margin-bottom: 14px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

    .table th,
    .table td {
        padding: 10px;
        border: 1px solid #ddd;
        vertical-align: middle;
    }

.alert {
    margin: 20px 24px 0 24px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #d1e7dd;
    color: #0f5132;
}

@media (max-width: 992px) {
    .tv-admin-wrap {
        grid-template-columns: 1fr;
    }
}