:root {
    --tp-navy: #0f172a;
    --tp-navy-light: #1e293b;
    --tp-gold: #fbbf24;
    --tp-gold-light: #fef3c7;
    --tp-background: #f8fafc;
    --tp-white: #ffffff;
    --tp-text: #0f172a;
    --tp-muted: #64748b;
    --tp-border: #e2e8f0;
    --tp-success: #10b981;
    --tp-danger: #ef4444;
    --tp-radius-small: 12px;
    --tp-radius: 20px;
    --tp-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

body {
    margin: 0;
    background: var(--tp-background);
    color: var(--tp-text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.tp-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--tp-gold), #f59e0b);
    color: var(--tp-navy);
    font-size: 21px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.25);
}

.tp-brand-name {
    color: inherit;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.1;
}

.tp-brand-subtitle {
    margin-top: 3px;
    color: var(--tp-muted);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tp-auth-page {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 100vh;
}

.tp-auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 48px;
    background:
        radial-gradient(
            circle at 70% 20%,
            rgba(251, 191, 36, 0.23),
            transparent 42%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(56, 189, 248, 0.16),
            transparent 43%
        ),
        linear-gradient(145deg, #0f172a, #1e293b);
    color: var(--tp-white);
}

.tp-auth-brand,
.tp-mobile-brand,
.tp-header-brand,
.tp-dashboard-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tp-auth-brand .tp-brand-subtitle {
    color: rgba(255, 255, 255, 0.55);
}

.tp-auth-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    pointer-events: none;
}

.tp-auth-glow-one {
    top: -100px;
    right: -100px;
    width: 320px;
    height: 320px;
    background: rgba(251, 191, 36, 0.18);
}

.tp-auth-glow-two {
    bottom: -140px;
    left: -100px;
    width: 360px;
    height: 360px;
    background: rgba(56, 189, 248, 0.13);
}

.tp-auth-visual-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin: auto 0;
}

.tp-eyebrow,
.tp-dashboard-eyebrow,
.tp-auth-small-label {
    color: #d97706;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tp-auth-visual .tp-eyebrow {
    color: var(--tp-gold);
}

.tp-auth-visual-content h1 {
    max-width: 640px;
    margin: 20px 0;
    color: var(--tp-white);
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 300;
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.tp-auth-visual-content h1 span {
    display: block;
    color: var(--tp-gold);
    font-weight: 700;
}

.tp-auth-visual-content > p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 17px;
    line-height: 1.7;
}

.tp-auth-features {
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

.tp-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.tp-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.13);
    color: var(--tp-gold);
    font-size: 12px;
}

.tp-auth-visual-footer {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.38);
    font-size: 12px;
}

.tp-auth-form-section {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 35px 55px 24px;
    background: var(--tp-white);
}

.tp-language-switch {
    display: flex;
    align-self: flex-end;
    padding: 4px;
    border: 1px solid var(--tp-border);
    border-radius: 999px;
    background: #f8fafc;
}

.tp-language-switch button {
    min-width: 38px;
    padding: 6px 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--tp-muted);
    font-size: 12px;
    font-weight: 700;
}

.tp-language-switch button.active {
    background: var(--tp-navy);
    color: var(--tp-white);
}

.tp-auth-form-wrapper {
    width: 100%;
    max-width: 460px;
    margin: auto;
}

.tp-mobile-brand {
    display: none;
    margin-bottom: 40px;
}

.tp-auth-heading {
    margin-bottom: 30px;
}

.tp-auth-heading h2,
.tp-verification-card h1 {
    margin: 10px 0;
    color: var(--tp-text);
    font-size: 34px;
    font-weight: 750;
    letter-spacing: -0.035em;
}

.tp-auth-heading p,
.tp-verification-description {
    color: var(--tp-muted);
    font-size: 15px;
    line-height: 1.65;
}

.tp-auth-form {
    display: grid;
    gap: 18px;
}

.tp-form-group label {
    display: block;
    margin-bottom: 9px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.tp-input-wrapper {
    position: relative;
}

.tp-input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #94a3b8;
}

.tp-input-wrapper input {
    width: 100%;
    height: 53px;
    padding: 0 16px 0 44px;
    border: 1px solid var(--tp-border);
    border-radius: 14px;
    background: #f8fafc;
    color: var(--tp-text);
    outline: none;
    transition: 0.2s ease;
}

.tp-input-wrapper input:focus {
    border-color: var(--tp-gold);
    background: var(--tp-white);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.14);
}

.tp-primary-button,
.tp-dark-button,
.tp-light-button,
.tp-outline-light-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 750;
    transition: 0.2s ease;
}

.tp-primary-button,
.tp-dark-button {
    width: 100%;
    background: var(--tp-navy);
    color: var(--tp-white);
}

.tp-primary-button:hover,
.tp-dark-button:hover {
    background: #020617;
    color: var(--tp-white);
    transform: translateY(-1px);
}

.tp-security-note {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    padding: 15px;
    border: 1px solid #fef3c7;
    border-radius: 14px;
    background: #fffbeb;
}

.tp-security-note p {
    margin: 0;
    color: #92400e;
    font-size: 12px;
    line-height: 1.55;
}

.tp-help-area {
    margin-top: 28px;
    text-align: center;
}

.tp-help-area p {
    margin: 0 0 4px;
    color: var(--tp-muted);
    font-size: 13px;
}

.tp-help-area a,
.tp-auth-footer a,
.tp-verification-help a,
.tp-section-heading a {
    color: var(--tp-text);
    font-weight: 700;
    text-decoration: none;
}

.tp-auth-footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: var(--tp-muted);
    font-size: 11px;
}

.tp-verification-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 75% 10%,
            rgba(251, 191, 36, 0.22),
            transparent 35%
        ),
        linear-gradient(180deg, #fff, #f8fafc);
}

.tp-simple-header {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px;
}

.tp-back-link {
    color: var(--tp-muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.tp-language-inline {
    justify-self: end;
}

.tp-verification-container {
    position: relative;
    z-index: 2;
    width: min(100% - 30px, 500px);
    margin: 65px auto 0;
    text-align: center;
}

.tp-verification-card {
    padding: 42px;
    border: 1px solid rgba(226, 232, 240, 0.75);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--tp-shadow);
    backdrop-filter: blur(18px);
}

.tp-verification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 24px;
    border-radius: 22px;
    background: var(--tp-navy);
    color: var(--tp-gold);
    font-size: 25px;
}

.tp-masked-destination {
    margin-top: 9px;
    color: var(--tp-text);
    font-size: 15px;
    font-weight: 800;
}

.tp-otp-inputs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 9px;
    margin: 30px 0 18px;
}

.traveller-otp-input {
    width: 100%;
    height: 58px;
    border: 1px solid var(--tp-border);
    border-radius: 14px;
    background: #f8fafc;
    color: var(--tp-text);
    font-size: 23px;
    font-weight: 800;
    text-align: center;
    outline: none;
}

.traveller-otp-input:focus {
    border-color: var(--tp-gold);
    background: var(--tp-white);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.14);
}

.tp-otp-timer {
    margin-bottom: 21px;
    color: var(--tp-muted);
    font-size: 12px;
}

.tp-resend-area {
    margin-top: 24px;
}

.tp-resend-area p {
    margin: 0 0 5px;
    color: var(--tp-muted);
    font-size: 13px;
}

.tp-text-button {
    border: 0;
    background: none;
    color: var(--tp-text);
    font-size: 13px;
    font-weight: 750;
}

.tp-text-button:disabled {
    color: #94a3b8;
    cursor: default;
}

.tp-change-destination {
    display: inline-block;
    margin-top: 20px;
    color: var(--tp-muted);
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tp-verification-help {
    margin-top: 22px;
    color: var(--tp-muted);
    font-size: 12px;
}

.tp-form-message {
    margin-top: 15px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
}

.tp-form-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.tp-dashboard-page {
    min-height: 100vh;
    padding-bottom: 80px;
}

.tp-dashboard-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 0 32px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.tp-dashboard-brand {
    color: var(--tp-text);
    text-decoration: none;
}

.tp-desktop-nav {
    display: flex;
    gap: 30px;
    margin: 0 auto;
}

.tp-desktop-nav a {
    position: relative;
    padding: 28px 0;
    color: var(--tp-muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.tp-desktop-nav a.active,
.tp-desktop-nav a:hover {
    color: var(--tp-text);
}

.tp-desktop-nav a.active::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--tp-gold);
    content: "";
}

.tp-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tp-header-icon-button,
.tp-profile-button {
    border: 0;
    background: transparent;
}

.tp-header-icon-button {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.tp-header-icon-button:hover {
    background: #f1f5f9;
}

.tp-notification-dot {
    position: absolute;
    top: 8px;
    right: 7px;
    width: 7px;
    height: 7px;
    border: 2px solid var(--tp-white);
    border-radius: 999px;
    background: var(--tp-danger);
}

.tp-profile-button {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tp-profile-avatar,
.tp-consultant-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--tp-navy);
    color: var(--tp-white);
    font-weight: 800;
}

.tp-profile-avatar {
    width: 38px;
    height: 38px;
    font-size: 12px;
}

.tp-profile-name {
    font-size: 13px;
    font-weight: 750;
}

.tp-dashboard-container {
    width: min(1220px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0;
}

.tp-welcome-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.tp-welcome-row h1 {
    margin: 7px 0;
    font-size: 34px;
    font-weight: 750;
    letter-spacing: -0.035em;
}

.tp-welcome-row p,
.tp-current-date {
    margin: 0;
    color: var(--tp-muted);
}

.tp-current-date {
    font-size: 12px;
}

.tp-trip-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(251, 191, 36, 0.3),
            transparent 34%
        ),
        linear-gradient(135deg, #0f172a, #334155);
    color: var(--tp-white);
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.2);
}

.tp-trip-hero-content {
    position: relative;
    z-index: 2;
    padding: 34px;
}

.tp-trip-hero-top,
.tp-trip-main-row,
.tp-trip-meta-row,
.tp-trip-buttons,
.tp-section-heading,
.tp-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tp-trip-label {
    color: var(--tp-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.tp-status-badge {
    padding: 7px 12px;
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    font-size: 11px;
    font-weight: 750;
}

.tp-trip-main-row {
    margin-top: 28px;
}

.tp-trip-country {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.tp-trip-destination h2 {
    margin: 5px 0 7px;
    color: var(--tp-white);
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 300;
    letter-spacing: -0.05em;
}

.tp-trip-destination p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.tp-trip-countdown {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.tp-trip-countdown strong {
    color: var(--tp-gold);
    font-size: 52px;
    font-weight: 300;
    line-height: 1;
}

.tp-trip-countdown span {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    text-transform: uppercase;
}

.tp-trip-meta-row {
    justify-content: flex-start;
    gap: 50px;
    margin-top: 33px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tp-trip-meta-row div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tp-trip-meta-row span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tp-trip-meta-row strong {
    font-size: 13px;
}

.tp-trip-buttons {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 26px;
}

.tp-light-button,
.tp-outline-light-button {
    min-width: 130px;
    min-height: 44px;
    padding: 0 18px;
    font-size: 13px;
}

.tp-light-button {
    background: var(--tp-white);
    color: var(--tp-text);
}

.tp-outline-light-button {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.07);
    color: var(--tp-white);
}

.tp-dashboard-section {
    margin-top: 36px;
}

.tp-section-heading {
    margin-bottom: 17px;
}

.tp-section-heading h2 {
    margin: 4px 0 0;
    font-size: 21px;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.tp-section-heading > a {
    color: var(--tp-muted);
    font-size: 12px;
}

.tp-quick-action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

.tp-quick-action-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 105px;
    padding: 19px;
    border: 1px solid var(--tp-border);
    border-radius: 18px;
    background: var(--tp-white);
    color: var(--tp-text);
    text-decoration: none;
    transition: 0.2s ease;
}

.tp-quick-action-card:hover {
    border-color: #cbd5e1;
    color: var(--tp-text);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
    transform: translateY(-2px);
}

.tp-quick-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 14px;
    background: #f1f5f9;
    font-size: 18px;
}

.tp-quick-action-card h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 750;
}

.tp-quick-action-card p {
    margin: 0;
    color: var(--tp-muted);
    font-size: 11px;
    line-height: 1.45;
}

.tp-card-arrow {
    margin-left: auto;
    color: #94a3b8;
}

.tp-danger-action {
    border-color: #fecaca;
    background: #fff7f7;
}

.tp-danger-action .tp-quick-action-icon {
    background: #fee2e2;
    color: var(--tp-danger);
    font-size: 11px;
    font-weight: 900;
}

.tp-dashboard-columns {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
    margin-top: 22px;
}

.tp-dashboard-card {
    padding: 24px;
    border: 1px solid var(--tp-border);
    border-radius: 22px;
    background: var(--tp-white);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.035);
}

.tp-timeline-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 24px;
}

.tp-timeline-event {
    position: relative;
    text-align: center;
}

.tp-timeline-event:not(:last-child)::after {
    position: absolute;
    top: 15px;
    left: calc(50% + 17px);
    width: calc(100% - 34px);
    height: 2px;
    background: #e2e8f0;
    content: "";
}

.tp-timeline-marker {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    margin: 0 auto 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.tp-timeline-completed {
    background: var(--tp-success);
    color: var(--tp-white);
}

.tp-timeline-current {
    border: 2px solid var(--tp-gold);
    background: #fffbeb;
    color: #d97706;
}

.tp-timeline-event h3 {
    margin: 0;
    font-size: 11px;
    font-weight: 750;
}

.tp-timeline-event p {
    margin: 3px 0 0;
    color: var(--tp-muted);
    font-size: 9px;
}

.tp-payment-card {
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(251, 191, 36, 0.12),
            transparent 45%
        ),
        var(--tp-white);
}

.tp-payment-total {
    display: flex;
    flex-direction: column;
    margin-top: 26px;
}

.tp-payment-total span {
    color: var(--tp-muted);
    font-size: 11px;
}

.tp-payment-total strong {
    margin-top: 4px;
    font-size: 38px;
    font-weight: 350;
    letter-spacing: -0.04em;
}

.tp-payment-total small {
    color: var(--tp-muted);
    font-size: 13px;
    font-weight: 700;
}

.tp-payment-progress {
    margin: 22px 0;
}

.tp-progress-header {
    margin-bottom: 8px;
    color: var(--tp-muted);
    font-size: 10px;
}

.tp-progress-track {
    overflow: hidden;
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
}

.tp-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.tp-dark-button {
    min-height: 44px;
    font-size: 12px;
}

.tp-update-list {
    display: grid;
    gap: 5px;
}

.tp-update-item {
    display: flex;
    gap: 13px;
    padding: 13px;
    border-radius: 14px;
}

.tp-update-item:hover {
    background: #f8fafc;
}

.tp-update-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    border-radius: 12px;
    background: #f1f5f9;
    font-size: 15px;
}

.tp-update-content h3 {
    margin: 0 0 3px;
    font-size: 12px;
    font-weight: 750;
}

.tp-update-content p {
    margin: 0;
    color: var(--tp-muted);
    font-size: 10px;
}

.tp-update-content small {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 9px;
}

.tp-consultant-card {
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(251, 191, 36, 0.22),
            transparent 42%
        ),
        var(--tp-navy);
    color: var(--tp-white);
}

.tp-consultant-card .tp-dashboard-eyebrow {
    color: var(--tp-gold);
}

.tp-consultant-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 25px;
}

.tp-consultant-avatar {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    background: var(--tp-gold);
    color: var(--tp-navy);
}

.tp-consultant-profile h2 {
    margin: 0 0 3px;
    color: var(--tp-white);
    font-size: 18px;
}

.tp-consultant-profile p,
.tp-consultant-hours {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
}

.tp-consultant-hours {
    margin-top: 18px;
}

.tp-consultant-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 20px;
}

.tp-consultant-actions a {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--tp-white);
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.tp-extras-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}

.tp-extra-card {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 125px;
    padding: 18px;
    border: 1px solid var(--tp-border);
    border-radius: 18px;
    background: var(--tp-white);
    color: var(--tp-text);
    text-decoration: none;
}

.tp-extra-card > span {
    margin-bottom: auto;
    font-size: 22px;
}

.tp-extra-card strong {
    font-size: 13px;
}

.tp-extra-card small {
    color: var(--tp-muted);
    font-size: 10px;
}

.tp-mobile-navigation {
    display: none;
}

@media (max-width: 1000px) {
    .tp-auth-page {
        grid-template-columns: 1fr;
    }

    .tp-auth-visual {
        display: none;
    }

    .tp-auth-form-section {
        min-height: 100vh;
    }

    .tp-mobile-brand {
        display: flex;
    }

    .tp-desktop-nav {
        display: none;
    }

    .tp-dashboard-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .tp-auth-form-section {
        padding: 22px 18px;
    }

    .tp-auth-form-wrapper {
        margin-top: 55px;
    }

    .tp-simple-header {
        grid-template-columns: 1fr auto;
    }

    .tp-header-brand {
        display: none;
    }

    .tp-verification-container {
        margin-top: 25px;
    }

    .tp-verification-card {
        padding: 28px 18px;
    }

    .tp-otp-inputs {
        gap: 5px;
    }

    .traveller-otp-input {
        height: 52px;
        border-radius: 11px;
        font-size: 20px;
    }

    .tp-dashboard-header {
        padding: 0 14px;
    }

    .tp-dashboard-brand .tp-brand-subtitle,
    .tp-profile-name {
        display: none;
    }

    .tp-dashboard-container {
        width: min(100% - 20px, 1220px);
        padding-top: 23px;
    }

    .tp-welcome-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .tp-welcome-row h1 {
        font-size: 28px;
    }

    .tp-trip-hero-content {
        padding: 23px 19px;
    }

    .tp-trip-main-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .tp-trip-countdown {
        align-items: flex-start;
    }

    .tp-trip-meta-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .tp-trip-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .tp-quick-action-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp-quick-action-card {
        align-items: flex-start;
        flex-direction: column;
        min-height: 145px;
    }

    .tp-card-arrow {
        position: absolute;
        top: 18px;
        right: 16px;
    }

    .tp-timeline-preview {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tp-timeline-event {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .tp-timeline-event:not(:last-child)::after {
        top: 31px;
        left: 15px;
        width: 2px;
        height: 28px;
    }

    .tp-timeline-marker {
        margin: 0;
        flex: 0 0 31px;
    }

    .tp-extras-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp-mobile-navigation {
        position: fixed;
        right: 10px;
        bottom: 10px;
        left: 10px;
        z-index: 100;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        padding: 8px 4px;
        border: 1px solid rgba(226, 232, 240, 0.9);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 15px 45px rgba(15, 23, 42, 0.17);
        backdrop-filter: blur(20px);
    }

    .tp-mobile-navigation a {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 3px;
        color: #94a3b8;
        text-decoration: none;
    }

    .tp-mobile-navigation a.active {
        color: var(--tp-text);
    }

    .tp-mobile-navigation span {
        font-size: 17px;
    }

    .tp-mobile-navigation small {
        font-size: 9px;
        font-weight: 700;
    }
}

.tp-dashboard-columns.tp-dashboard-single-column {
    grid-template-columns: 1fr;
}

.tp-empty-content {
    padding: 28px 18px;
    border: 1px dashed var(--tp-border);
    border-radius: 16px;
    background: #f8fafc;
    color: var(--tp-muted);
    text-align: center;
}

.tp-empty-content p {
    margin: 0;
}

.tp-empty-trip-card {
    margin-top: 24px;
}

.tp-empty-trip-card h2 {
    margin: 10px 0;
}

.tp-empty-trip-card p {
    max-width: 620px;
    margin-bottom: 22px;
    color: var(--tp-muted);
    line-height: 1.7;
}

.tp-header-icon-button,
.tp-profile-button {
    text-decoration: none;
}

.tp-header-icon-button:hover,
.tp-profile-button:hover {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================
   Traveller Portal — My Trips Page
   Route: /traveller/trips
   ========================================================== */

.tp-trips-page {
    --tp-navy: #0f172a;
    --tp-amber: #f59e0b;
    --tp-cream: #fffbeb;
    --tp-muted: #64748b;
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(245, 158, 11, 0.10),
            transparent 34rem
        ),
        var(--tp-cream);
    color: var(--tp-navy);
    padding-bottom: 40px;
}

.tp-trips-main {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 32px 32px 64px;
}

.tp-trips-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.tp-trips-heading h1 {
    margin: 0;
    color: var(--tp-navy);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 750;
}

.tp-trips-heading p {
    margin: 12px 0 0;
    color: rgba(15, 23, 42, 0.60);
    font-size: 15px;
    line-height: 1.5;
}

.tp-trips-membership {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.tp-premium-badge,
.tp-protected-badge {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
}

.tp-premium-badge {
    background: var(--tp-navy);
    color: #ffffff;
    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.14);
}

.tp-premium-badge > span {
    color: var(--tp-amber);
}

.tp-protected-badge {
    background: rgba(255, 255, 255, 0.92);
    color: var(--tp-navy);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow:
        0 3px 14px rgba(15, 23, 42, 0.04);
}

.tp-trips-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.tp-trip-search {
    position: relative;
    min-width: 280px;
    flex: 1 1 380px;
}

.tp-trip-search input {
    width: 100%;
    height: 50px;
    padding: 0 48px 0 46px;
    color: var(--tp-navy);
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 17px;
    outline: none;
    font-size: 14px;
    box-shadow:
        0 5px 22px rgba(15, 23, 42, 0.045);
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.tp-trip-search input::placeholder {
    color: rgba(15, 23, 42, 0.34);
}

.tp-trip-search input:focus {
    border-color: rgba(15, 23, 42, 0.24);
    box-shadow:
        0 0 0 4px rgba(245, 158, 11, 0.12),
        0 8px 24px rgba(15, 23, 42, 0.06);
}

.tp-trip-search-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 17px;
    width: 18px;
    height: 18px;
    color: rgba(15, 23, 42, 0.38);
    transform: translateY(-50%);
    pointer-events: none;
}

.tp-trip-search-icon svg {
    width: 100%;
    height: 100%;
}

.tp-clear-search {
    position: absolute;
    top: 50%;
    right: 13px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(15, 23, 42, 0.55);
    background: rgba(15, 23, 42, 0.06);
    border: 0;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    transform: translateY(-50%);
}

.tp-clear-search:hover {
    color: #ffffff;
    background: var(--tp-navy);
}

.tp-trip-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tp-trip-filter {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    color: rgba(15, 23, 42, 0.68);
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition:
        color 160ms ease,
        background 160ms ease,
        border-color 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.tp-trip-filter:hover {
    color: var(--tp-navy);
    border-color: rgba(15, 23, 42, 0.20);
    transform: translateY(-1px);
}

.tp-trip-filter.active {
    color: #ffffff;
    background: var(--tp-navy);
    border-color: var(--tp-navy);
    box-shadow:
        0 9px 22px rgba(15, 23, 42, 0.18);
}

.tp-filter-count {
    min-width: 22px;
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    color: rgba(15, 23, 42, 0.70);
    background: rgba(15, 23, 42, 0.07);
    border-radius: 999px;
    font-size: 11px;
}

.tp-trip-filter.active .tp-filter-count {
    color: var(--tp-navy);
    background: var(--tp-amber);
}

.tp-trips-result-summary {
    margin-top: 22px;
    color: rgba(15, 23, 42, 0.53);
    font-size: 12px;
}

.tp-trips-result-summary strong {
    color: var(--tp-navy);
    font-weight: 700;
}

.tp-trips-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 14px;
}

.tp-trip-card {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.055);
    border-radius: 25px;
    box-shadow:
        0 9px 30px rgba(15, 23, 42, 0.055);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.tp-trip-card:hover {
    border-color: rgba(15, 23, 42, 0.10);
    transform: translateY(-4px);
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.10);
}

.tp-trip-card[hidden] {
    display: none !important;
}

.tp-trip-card-visual {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 19px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #0f172a 0%,
            #1e293b 55%,
            #334155 100%
        );
}

.tp-trip-card:nth-child(3n + 2)
.tp-trip-card-visual {
    background:
        linear-gradient(
            145deg,
            #064e3b 0%,
            #0f766e 55%,
            #0f172a 100%
        );
}

.tp-trip-card:nth-child(3n + 3)
.tp-trip-card-visual {
    background:
        linear-gradient(
            145deg,
            #312e81 0%,
            #6d28d9 50%,
            #0f172a 100%
        );
}

.tp-trip-card-decoration {
    position: absolute;
    top: -90px;
    right: -70px;
    width: 230px;
    height: 230px;
    background:
        rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    filter: blur(6px);
}

.tp-trip-card-decoration::after {
    content: "";
    position: absolute;
    right: 85px;
    bottom: -115px;
    width: 180px;
    height: 180px;
    background:
        rgba(245, 158, 11, 0.20);
    border-radius: 50%;
    filter: blur(24px);
}

.tp-trip-card-visual-top,
.tp-trip-card-destination {
    position: relative;
    z-index: 1;
}

.tp-trip-card-visual-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.tp-trip-service-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tp-trip-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 27px;
    padding: 5px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.055em;
    white-space: nowrap;
}

.tp-trip-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.tp-status-confirmed {
    color: #047857;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.tp-status-confirmed
.tp-trip-status-dot {
    background: #10b981;
}

.tp-status-pending {
    color: #b45309;
    background: #fffbeb;
    border-color: #fde68a;
}

.tp-status-pending
.tp-trip-status-dot {
    background: #f59e0b;
}

.tp-status-active {
    color: #075985;
    background: #f0f9ff;
    border-color: #bae6fd;
}

.tp-status-active
.tp-trip-status-dot {
    background: #0ea5e9;
    animation:
        tp-status-pulse 1.8s infinite;
}

.tp-status-completed {
    color: #475569;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.tp-status-completed
.tp-trip-status-dot {
    background: #94a3b8;
}

.tp-status-cancelled {
    color: #dc2626;
    background: #fef2f2;
    border-color: #fecaca;
}

.tp-status-cancelled
.tp-trip-status-dot {
    background: #ef4444;
}

@keyframes tp-status-pulse {
    0%,
    100% {
        box-shadow:
            0 0 0 0 rgba(14, 165, 233, 0.35);
    }

    50% {
        box-shadow:
            0 0 0 5px rgba(14, 165, 233, 0);
    }
}

.tp-trip-card-label {
    margin: 0 0 4px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.tp-trip-card-destination h2 {
    max-width: 100%;
    overflow: hidden;
    margin: 0;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1;
    letter-spacing: -0.045em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tp-trip-reference {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 550;
}

.tp-trip-card-body {
    padding: 18px;
}

.tp-trip-date-row {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.tp-trip-date-icon {
    width: 39px;
    height: 39px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tp-navy);
    background: var(--tp-cream);
    border: 1px solid rgba(245, 158, 11, 0.20);
    border-radius: 13px;
}

.tp-trip-date-icon svg {
    width: 17px;
    height: 17px;
}

.tp-trip-info-label {
    margin: 0;
    color: rgba(15, 23, 42, 0.45);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.tp-trip-info-value {
    max-width: 100%;
    overflow: hidden;
    margin: 3px 0 0;
    color: var(--tp-navy);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tp-trip-details-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 17px;
    padding-top: 17px;
    border-top:
        1px solid rgba(15, 23, 42, 0.065);
}

.tp-trip-detail {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.tp-trip-detail-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 11px;
    font-size: 15px;
}

.tp-trip-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    margin-top: 18px;
}

.tp-trip-type {
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(15, 23, 42, 0.48);
    font-size: 10px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tp-open-trip-button {
    min-height: 38px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 13px;
    color: #ffffff !important;
    background: var(--tp-navy);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow:
        0 7px 18px rgba(15, 23, 42, 0.16);
    transition:
        color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.tp-open-trip-button:hover {
    color: var(--tp-navy) !important;
    background: var(--tp-amber);
    transform: translateX(2px);
}

.tp-open-trip-button svg {
    width: 14px;
    height: 14px;
}

.tp-trips-empty-state {
    margin-top: 24px;
    padding: 58px 28px;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.055);
    border-radius: 28px;
    box-shadow:
        0 9px 34px rgba(15, 23, 42, 0.055);
}

.tp-trips-empty-state[hidden] {
    display: none !important;
}

.tp-empty-icon {
    width: 90px;
    height: 90px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tp-amber);
    background:
        linear-gradient(
            145deg,
            #0f172a,
            #1e293b
        );
    border-radius: 23px;
    box-shadow:
        0 15px 34px rgba(15, 23, 42, 0.20);
}

.tp-empty-icon svg {
    width: 39px;
    height: 39px;
}

.tp-trips-empty-state h2 {
    margin: 22px 0 0;
    color: var(--tp-navy);
    font-size: 23px;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.tp-trips-empty-state p {
    max-width: 440px;
    margin: 10px auto 0;
    color: rgba(15, 23, 42, 0.58);
    font-size: 14px;
    line-height: 1.65;
}

.tp-trips-empty-state button {
    min-height: 41px;
    margin-top: 22px;
    padding: 8px 18px;
    color: #ffffff;
    background: var(--tp-navy);
    border: 0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.tp-trips-empty-state button:hover {
    color: var(--tp-navy);
    background: var(--tp-amber);
}

@media (max-width: 1100px) {
    .tp-trips-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .tp-trip-search {
        width: 100%;
        flex-basis: auto;
    }

    .tp-trips-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .tp-trips-page {
        padding-bottom: 92px;
    }

    .tp-trips-main {
        padding:
            24px 16px 38px;
    }

    .tp-trips-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .tp-trips-heading h1 {
        font-size: 36px;
    }

    .tp-trips-heading p {
        margin-top: 9px;
        font-size: 13px;
    }

    .tp-trips-membership {
        width: 100%;
    }

    .tp-trips-toolbar {
        margin-top: 23px;
    }

    .tp-trip-search {
        min-width: 0;
    }

    .tp-trip-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 2px 1px 8px;
        scrollbar-width: none;
    }

    .tp-trip-filters::-webkit-scrollbar {
        display: none;
    }

    .tp-trip-filter {
        min-height: 40px;
        flex: 0 0 auto;
        padding: 7px 13px;
    }

    .tp-trips-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .tp-trip-card-visual {
        min-height: 180px;
    }

    .tp-trip-card-destination h2 {
        font-size: 29px;
    }
}

@media (max-width: 420px) {
    .tp-trips-membership {
        align-items: stretch;
        flex-direction: column;
    }

    .tp-premium-badge,
    .tp-protected-badge {
        width: 100%;
    }

    .tp-trip-details-grid {
        grid-template-columns: 1fr;
    }

    .tp-trip-card-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .tp-open-trip-button {
        width: 100%;
    }
}