*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --tk-bg: #000000;
    --tk-surface: #121318;
    --tk-surface-2: #1a1c23;
    --tk-border: #2a2d37;
    --tk-pink: #ee2a52;
    --tk-pink-hover: #d81f45;
    --tk-cyan: #25f4ee;
    --tk-text: #ffffff;
    --tk-muted: #9ca3af;
}

body.tk-body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--tk-bg);
    color: var(--tk-text);
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    overflow-x: hidden;
}

.tk-bg-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(130, 20, 42, 0.45) 0%, rgba(0, 0, 0, 0) 48%),
        radial-gradient(circle at 82% 8%, rgba(16, 86, 86, 0.42) 0%, rgba(0, 0, 0, 0) 45%);
}

.tk-auth-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tk-auth-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 16px 22px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tk-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 36px;
    margin-bottom: 14px;
    font-size: 13px;
}

.tk-back-link {
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 4px;
}

.tk-region-bar {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 13px;
}

.tk-region-action {
    color: var(--tk-pink);
    cursor: pointer;
    font-weight: 500;
}

.tk-locale-pills {
    display: inline-flex;
    border: 1px solid #333845;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.tk-locale-btn {
    border: 0;
    background: transparent;
    color: #d1d5db;
    padding: 3px 9px;
    font-size: 11px;
    cursor: pointer;
}

.tk-locale-btn.active {
    background: var(--tk-pink);
    color: #ffffff;
    font-weight: 600;
}

.tk-logo-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 0 22px;
    margin-bottom: 8px;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(rgba(37, 244, 238, 0.09) 1px, transparent 1px);
    background-size: 26px 26px;
    background-position: 0 0, 13px 13px;
}

.tk-logo-wordmark {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

.tk-privacy-title {
    margin: 12px 0 14px;
    font-size: 19px;
    font-weight: 600;
    color: #c93b55;
    line-height: 1.35;
}

.tk-privacy-copy {
    margin: 0 0 28px;
    font-size: 12.5px;
    line-height: 1.55;
    color: #e5e7eb;
}

.tk-headline {
    margin: 10px 0 12px;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.18;
    color: #ffffff;
}

.tk-headline-accent {
    color: #c93252;
    display: block;
}

.tk-subtitle {
    margin: 0 0 26px;
    font-size: 12.5px;
    color: #d1d5db;
    line-height: 1.45;
}

.tk-pill-field {
    display: flex;
    align-items: center;
    height: 48px;
    border-radius: 999px;
    background: #ffffff;
    padding: 0 16px;
    margin-bottom: 14px;
    gap: 10px;
}

.tk-field-icon {
    color: var(--tk-pink);
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.tk-code-badge {
    background: var(--tk-pink);
    color: #ffffff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.tk-req-star {
    color: var(--tk-pink);
    font-weight: 700;
    margin-right: -4px;
}

.tk-pill-input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    color: #111827;
    font-size: 14px;
    min-width: 0;
}

.tk-pill-input::placeholder {
    color: #8b8f99;
}

.tk-eye-btn {
    border: 0;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
}

.tk-remember-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 22px;
    font-size: 13.5px;
    color: #ffffff;
    cursor: pointer;
}

.tk-remember-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--tk-pink);
    cursor: pointer;
}

.tk-btn-pill {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: var(--tk-pink);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.tk-btn-pill:hover {
    background: var(--tk-pink-hover);
    color: #ffffff;
    text-decoration: none;
}

.tk-switch-prompt {
    text-align: center;
    margin: 22px 0 18px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.tk-switch-prompt a {
    color: #c93252;
    text-decoration: none;
}

.tk-switch-prompt a:hover {
    text-decoration: underline;
}

.tk-legal-copy {
    font-size: 11px;
    line-height: 1.5;
    color: #d1d5db;
    margin-bottom: 16px;
}

.tk-footer {
    background: #10121a;
    border-top: 1px solid #1e2230;
    text-align: center;
    padding: 13px 16px;
    font-size: 12.5px;
    color: #d1d5db;
    position: relative;
    z-index: 1;
}

.tk-alert {
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: 13px;
}

.tk-alert-success {
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #a7f3d0;
}

.tk-alert-error {
    background: rgba(238, 42, 82, 0.16);
    border: 1px solid rgba(238, 42, 82, 0.5);
    color: #fecdd3;
}

.tk-alert-error ul {
    margin: 4px 0 0 18px;
    padding: 0;
}

.tk-alt-link {
    text-align: center;
    margin-top: 14px;
    font-size: 12px;
    color: #9ca3af;
}

.tk-alt-link a {
    color: #25f4ee;
    text-decoration: none;
}

/* Logged-in User Portal */
.tk-portal-nav {
    position: relative;
    z-index: 2;
    background: rgba(16, 18, 26, 0.94);
    border-bottom: 1px solid var(--tk-border);
    padding: 0 20px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tk-portal-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}

.tk-portal-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tk-portal-link {
    padding: 7px 14px;
    border-radius: 999px;
    color: #d1d5db;
    font-size: 13px;
    text-decoration: none;
}

.tk-portal-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.tk-portal-link.active {
    background: var(--tk-pink);
    color: #ffffff;
    font-weight: 600;
}

.tk-portal-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tk-ref-badge {
    background: rgba(37, 244, 238, 0.12);
    border: 1px solid rgba(37, 244, 238, 0.35);
    color: var(--tk-cyan);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.tk-portal-main {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 22px auto;
    padding: 0 18px;
}

.tk-card {
    background: var(--tk-surface);
    border: 1px solid var(--tk-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 18px;
}

.tk-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tk-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.tk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--tk-border);
    background: var(--tk-surface-2);
    color: #ffffff;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.tk-btn:hover {
    border-color: #4b5563;
}

.tk-btn-primary {
    background: var(--tk-pink);
    border-color: var(--tk-pink);
    font-weight: 600;
}

.tk-btn-primary:hover {
    background: var(--tk-pink-hover);
    border-color: var(--tk-pink-hover);
}

.tk-btn-danger {
    background: rgba(238, 42, 82, 0.14);
    border-color: rgba(238, 42, 82, 0.45);
    color: #fda4af;
}

.tk-btn-sm {
    height: 28px;
    padding: 0 11px;
    font-size: 12px;
}

.tk-search-box {
    border: 1px solid var(--tk-border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.02);
}

.tk-search-box legend {
    padding: 0 8px;
    color: var(--tk-cyan);
    font-size: 12.5px;
    font-weight: 600;
}

.tk-filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.tk-filter-group {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--tk-border);
    border-radius: 8px;
    overflow: hidden;
    height: 36px;
    background: var(--tk-surface-2);
}

.tk-filter-label {
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.04);
    border-right: 1px solid var(--tk-border);
    color: #d1d5db;
    font-size: 12.5px;
    white-space: nowrap;
}

.tk-filter-input {
    border: 0;
    outline: none;
    background: transparent;
    color: #ffffff;
    padding: 0 10px;
    min-width: 145px;
    font-size: 13px;
}

.tk-table-wrap {
    overflow-x: auto;
}

.tk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.tk-table th,
.tk-table td {
    border: 1px solid var(--tk-border);
    padding: 10px 12px;
    text-align: left;
    vertical-align: middle;
}

.tk-table thead th {
    background: var(--tk-surface-2);
    color: #d1d5db;
    font-weight: 600;
    white-space: nowrap;
}

.tk-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.tk-form-card {
    max-width: 620px;
    margin: 0 auto;
}

.tk-form-row {
    margin-bottom: 14px;
}

.tk-form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #d1d5db;
}

.tk-form-input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--tk-border);
    border-radius: 8px;
    background: var(--tk-surface-2);
    color: #ffffff;
    font-size: 14px;
}

.tk-form-input:focus {
    outline: none;
    border-color: var(--tk-pink);
}

.tk-form-input:disabled {
    opacity: 0.65;
}

.tk-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    color: #d1d5db;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 10px;
}

.tk-pagination {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tk-pagination li a,
.tk-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid var(--tk-border);
    border-radius: 6px;
    color: #d1d5db;
    text-decoration: none;
    font-size: 12px;
}

.tk-pagination li.active span {
    background: var(--tk-pink);
    border-color: var(--tk-pink);
    color: #ffffff;
}

.inline-form {
    display: inline;
}

.actions-cell {
    display: flex;
    gap: 6px;
    align-items: center;
}

.empty-cell {
    text-align: center !important;
    color: var(--tk-muted);
    padding: 24px !important;
}

.truncate-text {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

/* TIKTOK-GIG Mobile-First App Shell & Subpages */
.tk-app-frame {
    position: relative;
    z-index: 1;
    max-width: 460px;
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 72px;
}

.tk-app-frame.tk-frame-wide {
    max-width: 1180px;
}

.tk-app-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 56px;
    background: #0a0b0e;
    border-bottom: 1px solid #1c1e26;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
}

.tk-hdr-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tk-hdr-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 10px;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
}

.tk-service-badge {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--tk-pink);
    color: #0b0b0e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tk-hdr-brand {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #ffffff;
    text-decoration: none;
}

.tk-app-content {
    flex: 1;
    padding: 12px 14px 18px;
}

.tk-welcome-pill {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 10px 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.tk-hero-card {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    margin-bottom: 22px;
}

.tk-hero-title {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.3;
}

.tk-hero-body {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #f3f4f6;
}

.tk-hero-image {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 14px;
}

.tk-ticker-list {
    margin: 18px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: center;
}

.tk-ticker-item {
    font-size: 13.5px;
    color: #e5e7eb;
}

.tk-partner-panel {
    background: #030304;
    border-radius: 26px 26px 12px 12px;
    padding: 14px 12px 16px;
    border: 1px solid #161821;
}

.tk-partner-pill {
    background: #ffffff;
    color: #6b7280;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 14px;
}

.tk-partner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.tk-partner-tile {
    height: 88px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    text-decoration: none;
}

.tk-partner-custom {
    background: #ffffff;
    color: #111827;
    padding: 0;
}

.tk-partner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tk-tile-tiki { background: #1a94ff; color: #ffffff; }
.tk-tile-tot { background: #ffbd00; color: #ffffff; }
.tk-tile-alibaba { background: #ffffff; color: #e84e1b; font-size: 17px; }
.tk-tile-amazon { background: #131921; color: #ffffff; border: 1px solid #232a36; }

/* Bottom Tab Bar */
.tk-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 460px;
    height: 62px;
    background: #0a0b0e;
    border-top: 1px solid #1f222d;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    z-index: 25;
}

.tk-bottom-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #d1d5db;
    text-decoration: none;
    font-size: 11px;
}

.tk-bottom-tab.active {
    color: var(--tk-pink);
    font-weight: 600;
}

/* Slide-Out Left Drawer (Image 3) */
.tk-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 40;
    display: none;
}

.tk-drawer-backdrop.open {
    display: block;
}

.tk-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 285px;
    max-width: 84vw;
    background: #000000;
    border-right: 1px solid #1f222d;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.tk-drawer.open {
    transform: translateX(0);
}

.tk-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
}

.tk-drawer-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 auto;
}

.tk-drawer-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 0;
    background: var(--tk-pink);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.tk-drawer-profile {
    margin: 4px 12px 12px;
    background: #ffffff;
    color: #111827;
    border-radius: 12px;
    padding: 14px;
}

.tk-drawer-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tk-drawer-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--tk-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tk-pink);
    flex-shrink: 0;
}

.tk-cred-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 12px;
    color: #4b5563;
}

.tk-cred-bar {
    width: 44px;
    height: 3px;
    background: var(--tk-pink);
    border-radius: 999px;
}

.tk-cred-pill {
    background: var(--tk-pink);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 999px;
}

.tk-drawer-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    text-align: center;
}

.tk-drawer-stats > div + div {
    border-left: 1px solid #e5e7eb;
}

.tk-drawer-stat-val {
    font-size: 16px;
    font-weight: 700;
    color: #0f3d56;
}

.tk-drawer-stat-lbl {
    font-size: 11px;
    color: #6b7280;
}

.tk-drawer-menu {
    padding: 0 12px 14px;
    flex: 1;
}

.tk-drawer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 6px;
    border-bottom: 1px solid #262933;
    color: #ffffff;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
}

.tk-drawer-item:hover {
    color: var(--tk-pink);
}

.tk-drawer-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tk-drawer-icon {
    color: var(--tk-pink);
    display: inline-flex;
    align-items: center;
}

.tk-unread-dot {
    background: var(--tk-pink);
    color: #ffffff;
    border-radius: 999px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 700;
}

.tk-drawer-footer {
    padding: 12px;
    font-size: 11px;
    color: #9ca3af;
    text-align: center;
    border-top: 1px solid #1c1e26;
}

/* Booking Page (Image 2) */
.tk-intro-split {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.tk-stats-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid #1f222c;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.tk-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.tk-stat-row + .tk-stat-row {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.tk-stat-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tk-rules-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 14px;
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.65;
    color: #e5e7eb;
}

/* Light Subpages (Password, Switch Language, System Message, Team Report, About) */
.tk-subpage-header {
    height: 54px;
    background: #0a0b0e;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 10px;
    color: #ffffff;
}

.tk-subpage-title {
    margin: 0 auto;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tk-white-sheet {
    flex: 1;
    background: #ffffff;
    color: #1f2937;
    border-radius: 22px 22px 0 0;
    padding: 20px 18px 28px;
}

.tk-seg-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f5f6f8;
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tk-seg-tab {
    text-align: center;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: none;
}

.tk-seg-tab.active {
    background: #ffffff;
    color: var(--tk-pink);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.tk-light-input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
    background: #ffffff;
}

.tk-light-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #163b50;
}

.tk-lang-list {
    padding: 18px 16px;
    background: #f7f8fa;
    flex: 1;
}

.tk-lang-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #eceff4;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    font-size: 15px;
    color: #1f2937;
}

.tk-lang-card.active {
    border-color: var(--tk-pink);
    font-weight: 600;
}

.tk-lang-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tk-team-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 14px 0;
}

.tk-team-pill {
    text-align: center;
    padding: 8px 6px;
    border-radius: 999px;
    font-size: 13px;
    color: #374151;
    text-decoration: none;
}

.tk-team-pill.active {
    background: var(--tk-pink);
    color: #ffffff;
    font-weight: 600;
}

.tk-level-card {
    border: 1px solid #eef0f4;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    background: #ffffff;
}

.tk-level-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #163b50;
}

.tk-level-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    font-size: 12.5px;
}

.tk-msg-card {
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--tk-pink);
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
    background: #ffffff;
}

/* Booking Matching Modal (Image 2) */
.tk-match-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tk-match-backdrop.open {
    display: flex;
}

.tk-match-modal {
    width: 100%;
    max-width: 310px;
    background: #ffffff;
    color: #1f2937;
    border-radius: 12px;
    padding: 22px 18px 26px;
    text-align: center;
}

.tk-steps-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 24px;
    font-size: 11px;
    color: #6b7280;
}

.tk-steps-line {
    position: absolute;
    top: 7px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.tk-step-node {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 72px;
}

.tk-step-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #9ca3af;
}

.tk-step-node.active .tk-step-dot {
    background: var(--tk-pink);
}

.tk-step-node.active {
    color: #163b50;
    font-weight: 600;
}

/* Booking Record Page (Image 1) */
.tk-order-card {
    background: #050507;
    border: 1px solid #1e222d;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
    color: #ffffff;
}

.tk-order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    font-size: 13px;
}

.tk-status-pill {
    background: #ffffff;
    color: #374151;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
}

.tk-order-body {
    background: #ffffff;
    color: #111827;
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.tk-order-thumb {
    width: 82px;
    height: 82px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8fafc;
    flex-shrink: 0;
}

.tk-order-meta {
    flex: 1;
    min-width: 0;
}

.tk-order-title {
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #1f2937;
}

.tk-red-bar {
    background: var(--tk-pink);
    color: #ffffff;
    border-radius: 5px;
    padding: 4px 10px;
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 5px;
}

.tk-score-row {
    display: flex;
    gap: 6px;
    margin-bottom: 5px;
}

.tk-score-badge {
    background: #0a0b0e;
    color: #ffffff;
    border-radius: 5px;
    min-width: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 8px;
}

.tk-order-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    font-size: 12.5px;
}

.tk-order-metric-val {
    font-size: 14px;
    font-weight: 700;
    margin-top: 2px;
}

/* Order Review & Submit (Image 3 & Image 4) */
.tk-review-page {
    background: #ffffff;
    color: #111827;
    flex: 1;
    padding: 18px 18px 28px;
    text-align: center;
}

.tk-review-img {
    width: 170px;
    height: 170px;
    object-fit: contain;
    margin: 6px auto 12px;
    display: block;
}

.tk-review-row {
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 0;
}

.tk-review-lbl {
    font-size: 14px;
    font-weight: 700;
    color: #163b50;
    margin-bottom: 6px;
}

.tk-review-val {
    font-size: 21px;
    font-weight: 700;
    color: var(--tk-pink);
}

.tk-stars {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 18px 0 10px;
}

.tk-star-btn {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 2px;
    color: #d1d5db;
}

.tk-star-btn.active {
    color: #f59e0b;
}

.tk-review-textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 4px;
    font-size: 14px;
    text-align: center;
    outline: none;
    resize: none;
    color: #111827;
}

.tk-good-reviews-btn {
    margin: 14px auto 22px;
    background: #ffffff;
    color: #e8795f;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.tk-comments-modal {
    width: 100%;
    max-width: 390px;
    max-height: 80vh;
    background: #ffffff;
    color: #111827;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tk-comments-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 17px;
    font-weight: 700;
    color: #163b50;
}

.tk-comments-list {
    overflow-y: auto;
    padding: 8px 0;
}

.tk-comment-option {
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 13.5px;
    color: #1f2937;
    line-height: 1.45;
}

.tk-comment-option:hover {
    background: #f3f4f6;
}

/* Support Chat UI */
.tk-chat-shell {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 54px);
    background: #0d0f14;
}

.tk-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tk-chat-row {
    display: flex;
    flex-direction: column;
    max-width: 82%;
}

.tk-chat-row.me {
    align-self: flex-end;
    align-items: flex-end;
}

.tk-chat-row.them {
    align-self: flex-start;
    align-items: flex-start;
}

.tk-chat-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.45;
    word-break: break-word;
}

.tk-chat-row.me .tk-chat-bubble {
    background: linear-gradient(135deg, #ee2a52, #d41c43);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.tk-chat-row.them .tk-chat-bubble {
    background: #1b1e28;
    border: 1px solid #2a2f3d;
    color: #f3f4f6;
    border-bottom-left-radius: 4px;
}

.tk-chat-img {
    display: block;
    max-width: 220px;
    max-height: 220px;
    border-radius: 10px;
    margin-top: 6px;
    cursor: pointer;
    object-fit: cover;
}

.tk-chat-time {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
}

.tk-chat-composer {
    background: #12141c;
    border-top: 1px solid #232735;
    padding: 10px 12px;
}

.tk-chat-preview-chip {
    display: none;
    align-items: center;
    gap: 8px;
    background: #1b1f2b;
    border: 1px solid #2f3547;
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #e5e7eb;
}

.tk-chat-form-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tk-chat-upload-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #2d3242;
    background: #1a1d27;
    color: #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.tk-chat-input {
    flex: 1;
    height: 38px;
    border-radius: 999px;
    border: 1px solid #2d3242;
    background: #1a1d27;
    color: #ffffff;
    padding: 0 14px;
    font-size: 13.5px;
    outline: none;
}

.tk-chat-input:focus {
    border-color: var(--tk-pink);
}

.tk-chat-send {
    height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    border: 0;
    background: var(--tk-pink);
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}
