/* =========================================
   BASE
========================================= */

.tn-portal {
    max-width: 1180px;
    margin: 40px auto;
    padding: 0 20px 40px;
    font-family: Arial, sans-serif;
}

/* =========================================
   HEADINGS
========================================= */

.tn-portal h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.tn-portal h2 {
    font-size: 24px;
    margin: 30px 0 10px;
}

/* =========================================
   PANEL
========================================= */

.tn-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 24px;
}

/* =========================================
   BUTTONS
========================================= */

.tn-portal .button {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
}

.tn-portal .button:hover {
    background: #f3f4f6;
}

/* =========================================
   DOCUMENTS LIST
========================================= */

.tn-documents-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* egy dokumentum sor */
.tn-document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;

    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
}

/* bal oldal */
.tn-document-content {
    display: flex;
    flex-direction: column;
}

/* cím */
.tn-document-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 6px;
}

/* státusz */
.tn-document-status {
    font-size: 13px;
}

/* jobb oldal */
.tn-document-actions {
    display: flex;
    align-items: center;
}

/* ===== VIEW BUTTON ===== */

.tn-document-actions .button {
    background: #2563eb;
    border: 1px solid #2563eb;
    color: #ffffff;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 10px;
}

.tn-document-actions .button:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

/* =========================================
   BADGES
========================================= */

.tn-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.tn-badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.tn-badge-success {
    background: #dcfce7;
    color: #166534;
}

/* =========================================
   SUMMARY GRID
========================================= */

.tn-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.tn-summary-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px;
}

.tn-metric {
    font-size: 28px;
    font-weight: 700;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 640px) {

    .tn-document-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .tn-document-actions {
        width: 100%;
    }

    .tn-document-actions .button {
        width: 100%;
        text-align: center;
    }

    .tn-summary-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== Program grid final desktop fix ===== */

.tn-program-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: start !important;
}

.tn-program-card {
    width: 100% !important;
    max-width: none !important;
}

.tn-program-card__image-wrap {
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
}

.tn-program-card__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

@media (max-width: 900px) {
    .tn-program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .tn-program-grid {
        grid-template-columns: 1fr !important;
    }
}
/* =========================================
   PASSWORD TOGGLE
========================================= */

.tn-password-field {
    position: relative;
    display: block;
}

.tn-password-field input[type="password"],
.tn-password-field input[type="text"],
.tn-password-field input {
    width: 100%;
    padding-right: 52px !important;
}

button.tn-password-toggle,
.tn-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: #0f265c !important;
    border-radius: 999px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1;
}

button.tn-password-toggle:hover,
.tn-password-toggle:hover {
    transform: translateY(-50%) scale(1.05);
    opacity: 1;
}

.tn-password-toggle.is-hidden {
    opacity: 0.88;
}

.tn-password-toggle.is-visible {
    opacity: 1;
}

.tn-eye {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 10px;
    border: 2px solid #ffffff;
    border-radius: 12px / 8px;
}

.tn-eye::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* =========================================
   MEMBER PROFILE CARD IMAGE
========================================= */

.tn-member-profile-card__media {
    flex: 0 0 auto;
}

.tn-member-profile-card__image {
    width: 74px !important;
    height: 74px !important;
    max-width: 74px !important;
    max-height: 74px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block;
}

/* ha a kártya túl szétesik */
.tn-member-profile-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

@media (max-width: 640px) {
    .tn-member-profile-card {
        flex-direction: column;
    }
}
/* =========================================
   MEMBER BADGE
========================================= */

.tn-member-badge-screen {
    max-width: 1180px;
}

.tn-member-badge-page {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0 24px;
}

.tn-member-badge {
    width: 100%;
    max-width: 920px;
    min-height: 360px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 180px;
    grid-template-areas:
        "top top top"
        "photo identity qr"
        "photo verify qr";
    gap: 18px;

    padding: 24px;
    border-radius: 24px;

    background:
        linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)),
        linear-gradient(145deg, #0f265c 0%, #16377f 55%, #1e4da8 100%);
    color: #ffffff;

    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 18px 45px rgba(15, 38, 92, 0.22);
}

.tn-member-badge::before {
    content: '';
    position: absolute;
    inset: auto -80px -120px auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.tn-member-badge::after {
    content: '';
    position: absolute;
    inset: -120px auto auto -100px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 72%);
    pointer-events: none;
}

.tn-member-badge--valid {
    box-shadow: 0 18px 45px rgba(16, 185, 129, 0.16);
}

.tn-member-badge--invalid {
    box-shadow: 0 18px 45px rgba(239, 68, 68, 0.16);
}

.tn-member-badge__top {
    grid-area: top;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.tn-member-badge__brand {
    min-width: 0;
}

.tn-member-badge__association {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    margin-bottom: 6px;
}

.tn-member-badge__label {
    font-size: 24px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #ffffff;
}

.tn-member-badge__status {
    flex: 0 0 auto;
}

.tn-member-badge__status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.tn-member-badge__middle,
.tn-member-badge__bottom {
    display: contents;
}

.tn-member-badge__photo-wrap {
    grid-area: photo;
    position: relative;
    z-index: 1;
    align-self: start;
}

.tn-member-badge__photo {
    width: 120px;
    height: 150px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    border: 3px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.tn-member-badge__identity {
    grid-area: identity;
    position: relative;
    z-index: 1;
    min-width: 0;
    align-self: start;
}

.tn-member-badge__name {
    margin: 0 0 14px;

    font-size: clamp(28px, 4vw, 42px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0.02em;

    color: #ffffff !important;

    text-transform: uppercase;

    /* finom glow a kontraszthoz */
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);

    word-break: break-word;
}

.tn-member-badge__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(255,255,255,0.92);
}

.tn-member-badge__meta strong {
    color: #ffffff;
    min-width: 96px;
}

.tn-member-badge__qr-wrap {
    grid-area: qr;
    position: relative;
    z-index: 1;
    align-self: center;
    justify-self: end;

    width: 160px;
    height: 160px;
    padding: 10px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0,0,0,0.16);
}

.tn-member-badge__qr {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 10px;
}

.tn-member-badge__verification {
    grid-area: verify;
    position: relative;
    z-index: 1;
    align-self: end;

    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.tn-member-badge__verification-title {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: #ffffff;
}

.tn-member-badge__verification-text {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.84);
    max-width: 420px;
}

.tn-member-badge__verification-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: #0f265c;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.03em;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.tn-member-badge__verification-link a:hover {
    background: #f3f7ff;
    color: #0f265c;
}

/* =========================================
   MOBILE BADGE
========================================= */

@media (max-width: 767px) {
    .tn-member-badge-page {
        padding: 0;
    }

    .tn-member-badge {
        max-width: 420px;
        min-height: 0;
        padding: 18px;
        border-radius: 24px;

        grid-template-columns: 1fr;
        grid-template-areas:
            "top"
            "photo"
            "identity"
            "qr"
            "verify";
        gap: 16px;
    }

    .tn-member-badge__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .tn-member-badge__association {
        font-size: 11px;
    }

    .tn-member-badge__label {
        font-size: 22px;
    }

    .tn-member-badge__status-pill {
        min-height: 34px;
        padding: 7px 12px;
        font-size: 11px;
    }

    .tn-member-badge__photo-wrap {
        justify-self: center;
    }

    .tn-member-badge__photo {
        width: 132px;
        height: 168px;
        border-radius: 20px;
    }

    .tn-member-badge__identity {
        text-align: center;
    }

    .tn-member-badge__name {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: #ffffff !important;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    word-break: break-word;
}

    .tn-member-badge__meta {
        justify-content: center;
        font-size: 13px;
        margin-bottom: 6px;
    }

    .tn-member-badge__meta strong {
        min-width: auto;
    }

    .tn-member-badge__qr-wrap {
        justify-self: center;
        width: 176px;
        height: 176px;
    }

    .tn-member-badge__verification {
        align-items: center;
        text-align: center;
    }

    .tn-member-badge__verification-title {
        font-size: 17px;
    }

    .tn-member-badge__verification-text {
        font-size: 13px;
        max-width: 280px;
    }

    .tn-member-badge__verification-link a {
        width: 100%;
        max-width: 240px;
    }
}

/* =========================================
   PRINT BADGE
========================================= */

@media print {

    @page {
        size: A4 portrait;
        margin: 12mm;
    }

    html,
    body {
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body * {
    visibility: hidden !important;
}

.tn-member-badge-page,
.tn-member-badge-page *,
.tn-member-badge-screen,
.tn-member-badge-screen *,
.tn-member-badge,
.tn-member-badge * {
    visibility: visible !important;
}

    .tn-member-badge-page {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding-top: 18mm !important;
    background: #ffffff !important;
    z-index: 9999 !important;
}

    .tn-member-badge-screen,
.tn-member-badge-wrapper {
    display: block !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

    .tn-member-badge {
    display: block !important;
    visibility: visible !important;
    width: 9cm !important;
    height: 5cm !important;
    max-width: 9cm !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    padding: 0.30cm !important;
    border-radius: 0.20cm !important;
    overflow: hidden !important;

    background: #ffffff !important;
    color: #111827 !important;
    border: 1.4px solid #0f265c !important;
    box-shadow: none !important;
    position: relative !important;
}

    .tn-member-badge::before,
    .tn-member-badge::after {
        display: none !important;
    }

    .tn-member-badge__top {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 0.18cm !important;
        margin-bottom: 0.14cm !important;
    }

    .tn-member-badge__brand {
        display: block !important;
        min-width: 0 !important;
    }

    .tn-member-badge__association {
        display: block !important;
        font-size: 6.3pt !important;
        line-height: 1.15 !important;
        letter-spacing: 0.04em !important;
        text-transform: uppercase !important;
        color: #0f265c !important;
        margin-bottom: 1px !important;
        font-weight: 700 !important;
    }

    .tn-member-badge__label {
        display: block !important;
        font-size: 12pt !important;
        line-height: 1.05 !important;
        font-weight: 800 !important;
        color: #0f265c !important;
    }

    .tn-member-badge__status {
        display: block !important;
    }

    .tn-member-badge__status-pill {
        display: inline-block !important;
        min-height: 0 !important;
        padding: 3px 7px !important;
        border-radius: 999px !important;
        font-size: 6.2pt !important;
        font-weight: 800 !important;
        color: #0f265c !important;
        background: #eef2ff !important;
        border: 1px solid #c7d2fe !important;
        box-shadow: none !important;
    }

    .tn-member-badge__middle,
    .tn-member-badge__bottom {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 0.18cm !important;
    }

    .tn-member-badge__middle {
        margin-bottom: 0.12cm !important;
    }

    .tn-member-badge__photo-wrap {
        display: block !important;
        width: 1.45cm !important;
        flex: 0 0 1.45cm !important;
    }

    .tn-member-badge__photo {
        display: block !important;
        width: 1.45cm !important;
        height: 1.80cm !important;
        object-fit: cover !important;
        border-radius: 0.10cm !important;
        border: 1px solid #cbd5e1 !important;
        background: #ffffff !important;
        box-shadow: none !important;
    }

    .tn-member-badge__identity {
        display: block !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        padding: 0 0.06cm !important;
    }

    .tn-member-badge__name {
        display: block !important;
        margin: 0 0 4px !important;
        font-size: 16pt !important;
        line-height: 0.95 !important;
        font-weight: 900 !important;
        letter-spacing: 0.01em !important;
        text-transform: uppercase !important;
        color: #0f265c !important;
        text-shadow: none !important;
        word-break: break-word !important;
    }

    .tn-member-badge__meta {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        margin-bottom: 2px !important;
        font-size: 7pt !important;
        line-height: 1.25 !important;
        color: #111827 !important;
    }

    .tn-member-badge__meta strong {
        color: #0f265c !important;
        min-width: 1.50cm !important;
    }

    .tn-member-badge__qr-wrap {
        display: block !important;
        width: 1.85cm !important;
        height: 1.85cm !important;
        flex: 0 0 1.85cm !important;
        padding: 0.08cm !important;
        border-radius: 0.10cm !important;
        background: #ffffff !important;
        border: 1px solid #cbd5e1 !important;
        box-shadow: none !important;
    }

    .tn-member-badge__qr,
    .tn-member-badge__qr-wrap img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        visibility: visible !important;
    }

    .tn-member-badge__verification {
        display: block !important;
        margin-left: calc(1.45cm + 0.18cm) !important;
        margin-right: calc(1.85cm + 0.18cm) !important;
    }

    .tn-member-badge__verification-title {
        display: block !important;
        font-size: 8.3pt !important;
        line-height: 1.1 !important;
        font-weight: 900 !important;
        color: #0f265c !important;
        text-shadow: none !important;
        margin-bottom: 2px !important;
    }

    .tn-member-badge__verification-text {
        display: block !important;
        font-size: 6.4pt !important;
        line-height: 1.22 !important;
        color: #334155 !important;
        max-width: none !important;
    }

    .tn-member-badge__actions,
    .tn-member-badge__verification-link,
    .tn-member-badge__print,
    .tn-member-badge__print-button {
        display: none !important;
    }

    .tn-member-badge__ribbon {
        display: block !important;
        position: absolute !important;
        top: 0.10cm !important;
        right: -0.82cm !important;
        min-width: 3.2cm !important;
        padding: 0.10cm 0.18cm !important;
        font-size: 5.7pt !important;
        line-height: 1.1 !important;
        color: #ffffff !important;
        text-align: center !important;
        transform: rotate(35deg) !important;
        box-shadow: none !important;
    }

    .tn-member-badge__ribbon--invalid {
        background: #f59e0b !important;
    }

    .tn-member-badge--valid {
        border-color: #16a34a !important;
    }

    .tn-member-badge--invalid {
        border-color: #ea580c !important;
    }
}
/* =========================================
   MEMBER BADGE UPGRADE
========================================= */

.tn-member-badge {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.tn-member-badge--valid {
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow:
        0 18px 45px rgba(15, 38, 92, 0.22),
        0 0 0 1px rgba(16, 185, 129, 0.12),
        0 0 40px rgba(16, 185, 129, 0.18);
}

.tn-member-badge--invalid {
    border: 1px solid rgba(239, 68, 68, 0.35);
    box-shadow:
        0 18px 45px rgba(15, 38, 92, 0.22),
        0 0 0 1px rgba(239, 68, 68, 0.14),
        0 0 40px rgba(239, 68, 68, 0.14);
}

.tn-member-badge__ribbon {
    position: absolute;
    top: 18px;
    right: -42px;
    z-index: 3;

    min-width: 220px;
    padding: 10px 18px;
    text-align: center;

    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    transform: rotate(35deg);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.tn-member-badge__ribbon--invalid {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

.tn-member-badge__status-pill {
    font-weight: 900;
    letter-spacing: 0.12em;
}

.tn-member-badge__verification-title {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.tn-member-badge__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
}

.tn-member-badge__verification-link a,
.tn-member-badge__print-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.tn-member-badge__verification-link a {
    background: #ffffff;
    color: #0f265c;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.tn-member-badge__verification-link a:hover {
    background: #f3f7ff;
    color: #0f265c;
    transform: translateY(-1px);
}

.tn-member-badge__print-button {
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.24);
    box-shadow: 0 10px 20px rgba(0,0,0,0.10);
}

.tn-member-badge__print-button:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .tn-member-badge__ribbon {
        top: 14px;
        right: -54px;
        min-width: 210px;
        font-size: 11px;
        padding: 9px 14px;
    }

    .tn-member-badge__actions {
        justify-content: center;
        width: 100%;
    }

    .tn-member-badge__verification-link,
    .tn-member-badge__print {
        width: 100%;
    }

    .tn-member-badge__verification-link a,
    .tn-member-badge__print-button {
        width: 100%;
        max-width: 260px;
    }
}

/* =========================================
   REVIEWS SLIDER
========================================= */

.tenetura-reviews-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px 20px 20px;
}

.tenetura-reviews-section__head {
    margin-bottom: 14px;
}

.tenetura-reviews-section__title {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
    color: #0f172a;
}

.tenetura-reviews-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}

.tenetura-reviews-viewport {
    overflow: hidden;
    width: 100%;
}

.tenetura-reviews-track {
    display: flex;
    gap: 24px;
    will-change: transform;
}

.tenetura-review-slide {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
}

.tenetura-review-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 14px 34px rgba(15, 38, 92, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 260px;
    height: 100%;
}

.tenetura-review-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 18px 0 0 18px;
    background: linear-gradient(180deg, #0f265c 0%, #1e4da8 100%);
}

.tenetura-stars {
    color: #f59e0b;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 1;
}

.tenetura-review-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
}

.tenetura-review-text {
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
}

.tenetura-review-meta {
    margin-top: auto;
    padding-top: 6px;
    font-size: 13px;
    color: #64748b;
}

.tenetura-review-meta strong {
    color: #0f265c;
    font-weight: 800;
}

.tenetura-review-meta .location {
    color: #64748b;
}

.tenetura-reviews-section .tenetura-reviews-nav,
.tenetura-reviews-section button.tenetura-reviews-nav {
    flex: 0 0 auto !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #dbe3f0 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #0f265c !important;
    cursor: pointer !important;
    box-shadow: 0 10px 20px rgba(15, 38, 92, 0.10) !important;
    transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    outline: none !important;
    text-decoration: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.tenetura-reviews-section .tenetura-reviews-nav__icon {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
    flex: 0 0 auto !important;
    color: #0f265c !important;
    pointer-events: none !important;
}

.tenetura-reviews-section .tenetura-reviews-nav__icon path {
    stroke: currentColor !important;
}

.tn-screen-reader {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tenetura-reviews-section .tenetura-reviews-nav:hover,
.tenetura-reviews-section button.tenetura-reviews-nav:hover {
    background: #f8fbff !important;
    color: #0f265c !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 14px 26px rgba(15, 38, 92, 0.14) !important;
}

.tenetura-reviews-section .tenetura-reviews-nav:disabled,
.tenetura-reviews-section button.tenetura-reviews-nav:disabled {
    opacity: 0.38 !important;
    cursor: default !important;
    transform: none !important;
    box-shadow: none !important;
}

.tenetura-reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.tenetura-reviews-section .tenetura-reviews-dot,
.tenetura-reviews-section button.tenetura-reviews-dot {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #cbd5e1 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.tenetura-reviews-section .tenetura-reviews-dot.is-active,
.tenetura-reviews-section button.tenetura-reviews-dot.is-active {
    background: #0f265c !important;
}

@media (max-width: 1024px) {
    .tenetura-reviews-track {
        gap: 20px;
    }

    .tenetura-review-slide {
        flex: 0 0 calc((100% - 20px) / 2);
    }

    .tenetura-review-card {
        min-height: 240px;
    }
}

@media (max-width: 640px) {
    .tenetura-reviews-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .tenetura-reviews-slider-wrap {
        gap: 8px;
    }

    .tenetura-reviews-track {
        gap: 16px;
    }

    .tenetura-review-slide {
        flex: 0 0 100%;
    }

    .tenetura-review-card {
        padding: 18px;
        border-radius: 16px;
        min-height: 220px;
    }

    .tenetura-reviews-section .tenetura-reviews-nav,
    .tenetura-reviews-section button.tenetura-reviews-nav {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }

    .tenetura-reviews-section .tenetura-reviews-nav__icon {
        width: 20px !important;
        height: 20px !important;
    }
}

/* =========================================
   MEMBER REVIEW FORM
========================================= */

.tn-review-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 8px;
}

.tn-review-item h3 {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.2;
    color: #0f265c;
    font-weight: 800;
}

.tn-review-block {
    margin-top: 30px;
}

.tn-review-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 14px;
}

.tn-review-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 560px;
}

.tn-review-form input[type="text"],
.tn-review-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #dbe3f0;
    background: #ffffff;
    font-size: 14px;
    color: #0f172a;
    box-sizing: border-box;
}

.tn-review-form input[type="text"]:focus,
.tn-review-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.tn-review-form textarea {
    min-height: 120px;
    resize: vertical;
}

.tn-review-stars {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 24px;
}

.tn-review-stars label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
}

.tn-review-stars input {
    display: none;
}

.tn-review-stars span {
    color: #cbd5e1;
    transition: color 0.18s ease, transform 0.18s ease;
}

.tn-review-stars label:hover span {
    color: #f59e0b;
    transform: scale(1.04);
}

.tn-review-badge {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
}

.tn-review-pending {
    background: #fef3c7;
    color: #92400e;
}

.tn-review-approved {
    background: #dcfce7;
    color: #166534;
}

.tn-review-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.tn-review-info {
    font-size: 14px;
    color: #64748b;
}

@media (max-width: 640px) {
    .tn-review-item h3 {
        font-size: 18px;
    }

    .tn-review-form {
        max-width: 100%;
    }

    .tn-review-stars {
        font-size: 22px;
        gap: 6px;
    }
}