/* ==========================================
   GUNACAB SOCIAL
   feed.css
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --orange: #ff6a00;
    --blue: #1f6bff;

    --bg: #f4f6fb;

    --card: #ffffff;

    --text: #1f2937;

    --muted: #6b7280;

    --border: #e5e7eb;

    --shadow: 0 10px 35px rgba(0, 0, 0, .08);

    --radius: 20px;

}

html {

    scroll-behavior: smooth;

}

body {

    background: var(--bg);

    color: var(--text);

    font-family: "Inter", sans-serif;

    padding-bottom: 90px;

}

img {

    display: block;

    width: 100%;

}

button {

    border: none;

    outline: none;

    cursor: pointer;

    background: none;

    font: inherit;

}

a {

    text-decoration: none;

    color: inherit;

}

/* =============================
   HEADER
============================= */

.topbar {

    position: sticky;

    top: 0;

    z-index: 999;

    height: 72px;

    background: #fff;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 20px;

    box-shadow: 0 8px 25px rgba(15, 23, 42, .06);

}

.logo {

    font-size: 30px;

    font-weight: 800;

    display: flex;

    align-items: center;

}

.logo .orange {

    color: var(--orange);

}

.logo .blue {

    color: var(--blue);

}

.header-actions {

    display: flex;

    align-items: center;

    gap: 12px;

}

.header-actions button {

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f5f6f9;

    transition: .25s;

    flex-shrink: 0;

}

.header-actions button:hover {

    background: var(--orange);

    color: #fff;

}

.notification-btn {
    position: relative;
}

.notification-btn .notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;

    min-width: 18px;
    height: 18px;
    padding: 0 5px;

    border-radius: 999px;

    background: #ff3040;
    color: #fff;

    font-size: 10px;
    font-weight: 700;
    line-height: 1;

    display: none;
    align-items: center;
    justify-content: center;

    border: 2px solid #fff;
    pointer-events: none;
}


/* =========================
   STORIES
========================= */

.stories {
    padding: 18px 16px 10px;
    overflow: hidden;
    background: var(--card-bg, #fff);
}

.stories-scroll {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

/* Hide Scrollbar */

.stories-scroll::-webkit-scrollbar {
    display: none;
}

.stories-scroll {
    scrollbar-width: none;
}

/* Story */

.story {
    flex: 0 0 auto;
    width: 78px;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

/* Ring */

.story-ring {
    width: 74px;
    height: 74px;
    padding: 2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a18, #ffb347);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s ease;
}

.story:hover .story-ring {
    transform: scale(1.06);
}

/* Image */

.story-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #fff;
}

/* Text */

.story span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile */

@media (max-width:600px) {

    .stories {
        padding: 16px 12px 8px;
    }

    .stories-scroll {
        gap: 14px;
    }

    .story {
        width: 72px;
    }

    .story-ring {
        width: 68px;
        height: 68px;
    }

    .story span {
        font-size: 12px;
    }

}

/* =============================
   FEED
============================= */

.feed {

    width: min(720px, 100%);

    margin: auto;

    padding: 20 18px 30px;

}

.post {

    background: var(--card);

    border-radius: var(--radius);

    overflow: hidden;

    margin-bottom: 24px;

    box-shadow: var(--shadow);

}

.post-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 18px;

}

.profile {

    display: flex;

    align-items: center;

    gap: 14px;

}

.profile>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile img {

    width: 56px;

    height: 56px;

    border-radius: 50%;

    object-fit: cover;

}

.profile h3 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    line-height: 1;
    font-size: 16px;
    font-weight: 700;
}

.verified {

    color: #0ea5ff;
    font-size: 13px;

}

.profile p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1;
}

.more {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    transition: .25s;

}

.more:hover {

    background: #f3f4f6;

}

.post-image {

    width: 100%;

}

.post-image img {

    width: 100%;

    height: 460px;

    object-fit: cover;

}

.post-content {

    padding: 22px;

}

.post-content h2 {

    font-size: 28px;

    margin-bottom: 14px;

}

.post-content p {

    color: #4b5563;

    line-height: 1.8;

    font-size: 15px;

}

.read-more {
    font-weight: 700;

}

.post-actions {

    display: flex;

    justify-content: space-around;

    padding: 16px;

    border-top: 1px solid var(--border);

}

.post-actions button {

    display: flex;

    align-items: center;

    gap: 8px;

    font-weight: 600;

    color: #6b7280;

    transition: .25s;

}

.post-actions button:hover {

    color: var(--orange);

}

.book-box {

    padding: 22px;

    border-top: 1px solid var(--border);

    background: #fafbff;

}

.book-box h4 {

    font-size: 20px;

    margin-bottom: 8px;

}

.book-box p {

    color: #6b7280;

    margin-bottom: 18px;

}

.book-box a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 26px;

    background: var(--orange);

    color: #fff;

    border-radius: 999px;

    font-weight: 700;

    transition: .25s;

}

.book-box a:hover {

    transform: translateY(-2px);

    background: #e55d00;

}

/* ==========================================
   TRENDING
========================================== */

.trending {

    background: #fff;

    border-radius: 24px;

    padding: 24px;

    margin: 0 0 24px;

    box-shadow: var(--shadow);

}

.trending h2 {

    font-size: 22px;

    margin-bottom: 18px;

    font-weight: 700;

}

.trend-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

}

.trend-grid a {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 14px 18px;

    border-radius: 14px;

    background: #f7f8fc;

    font-weight: 600;

    transition: .25s;

    border: 1px solid transparent;

}

.trend-grid a:hover {

    background: #fff4ec;

    color: var(--orange);

    border-color: #ffd7bd;

    transform: translateY(-2px);

}



/* ==========================================
   RECOMMENDED ROUTES
========================================== */

.trip-card {

    background: #fff;

    border-radius: 24px;

    padding: 24px;

    margin-bottom: 24px;

    box-shadow: var(--shadow);

}

.trip-card h2 {

    font-size: 22px;

    margin-bottom: 18px;

}

.trip-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 18px 0;

    border-bottom: 1px solid var(--border);

}

.trip-item:last-child {

    border-bottom: none;

    padding-bottom: 0;

}

.trip-item strong {

    display: block;

    font-size: 16px;

    margin-bottom: 5px;

}

.trip-item small {

    color: var(--muted);

    font-size: 13px;

}

.trip-item a {

    min-width: 90px;

    text-align: center;

    background: var(--blue);

    color: #fff;

    padding: 10px 18px;

    border-radius: 999px;

    font-weight: 700;

    transition: .25s;

}

.trip-item a:hover {

    background: #0d56d8;

    transform: translateY(-2px);

}



/* ==========================================
   FLOATING ACTION BUTTON
========================================== */

.fab {
    position: fixed;
    right: 22px;
    bottom: 100px;

    width: 62px;
    height: 62px;

    border-radius: 50%;

    background: linear-gradient(135deg, var(--orange), #ff934d);

    color: #fff;

    font-size: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 15px 40px rgba(255, 106, 0, .35);

    z-index: 999;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.fab.active {
    transform: rotate(45deg);
}

.fab:hover {

    transform: scale(1.08);

}

/* ==========================================
   CREATE MENU
========================================== */

.create-menu {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 9998;
}

.create-menu.active {
    opacity: 1;
    visibility: visible;
}

.create-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.create-menu-sheet {
    position: relative;
    width: min(560px, 100%);
    background: #fff;
    border-radius: 28px 28px 0 0;
    padding: 18px 20px 28px;
    transform: translateY(100%);
    transition: transform .35s ease;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, .18);
}

.create-menu.active .create-menu-sheet {
    transform: translateY(0);
}

.create-close {
    position: absolute;
    top: 18px;
    right: 18px;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f3f4f6;
    color: #374151;

    transition: .25s;
}

.create-close:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}



.create-menu h3 {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    margin: 8px 0 6px;
}

.create-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.create-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 16px 18px;
    margin-bottom: 10px;

    border-radius: 18px;

    background: #fff;
    border: 1px solid #edf0f5;

    transition: .25s;

    text-align: left;
}

.create-item:hover {

    background: #fff8f3;

    border-color: #ffd7bd;

    transform: translateY(-2px);

    box-shadow: 0 10px 24px rgba(255, 106, 0, .08);

}

.create-item:active {

    transform: scale(.98);

}

.create-item i {

    width: 56px;
    height: 56px;

    border-radius: 18px;

    background: #fff3ea;

    color: var(--orange);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;

    flex-shrink: 0;

}

/* Different colors for each action */

.create-item[data-type="post"] i {
    color: #ff6a00;
    background: #fff3ea;
}

.create-item[data-type="story"] i {
    color: #7c3aed;
    background: #f3e8ff;
}

.create-item[data-type="reel"] i {
    color: #ef4444;
    background: #fef2f2;
}

.create-item[data-type="trip"] i {
    color: #2563eb;
    background: #eff6ff;
}

.create-item[data-type="live"] i {
    color: #16a34a;
    background: #ecfdf5;
}

.create-text {
    display: flex;
    flex-direction: column;
}

.create-text strong {

    font-size: 18px;
    font-weight: 700;
    color: var(--text);

}

.create-text small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width:600px) {

    .create-menu-sheet {
        padding: 16px 16px 24px;
    }

    .create-menu h3 {
        font-size: 24px;
    }

    .create-item {
        padding: 14px;
    }

    .create-item i {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

}

.create-menu-sheet::before {
    content: "";
    display: block;
    width: 64px;
    height: 6px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: #d1d5db;
}

/* ==========================================
   BOTTOM NAVIGATION
========================================== */

.bottom-nav {

    position: fixed;

    left: 0;

    right: 0;

    bottom: 0;

    height: 72px;

    background: #fff;

    display: flex;

    justify-content: space-around;

    align-items: center;

    box-shadow: 0 -8px 25px rgba(0, 0, 0, .08);

    z-index: 999;

}

.bottom-nav a {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

    color: #8a8f98;

    font-size: 13px;

    transition: .25s;

}

.bottom-nav a i {

    font-size: 21px;

}

.bottom-nav a.active {

    color: var(--orange);

}

.bottom-nav a:hover {

    color: var(--orange);

}



/* ==========================================
   SCROLLBAR
========================================== */

::-webkit-scrollbar {

    width: 8px;

}

::-webkit-scrollbar-track {

    background: #eceff3;

}

::-webkit-scrollbar-thumb {

    background: #c4cad3;

    border-radius: 999px;

}

::-webkit-scrollbar-thumb:hover {

    background: #9ea7b4;

}



/* ==========================================
   SELECTION
========================================== */

::selection {

    background: var(--orange);

    color: #fff;

}



/* ==========================================
   HOVER ANIMATIONS
========================================== */

.post {

    transition: .25s;

}

.post:hover {

    transform: translateY(-4px);

}

.story {

    transition: .25s;

}

.story:hover {

    transform: translateY(-4px);

}

.story-ring {

    transition: .25s;

}

.story:hover .story-ring {

    transform: scale(1.05);

}



/* ==========================================
   FADE ANIMATION
========================================== */

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: none;

    }

}

/* ==========================================
   TABLET
========================================== */

@media(max-width:900px) {

    .feed {

        width: 100%;

    }

}



/* ==========================================
   MOBILE
========================================== */

@media(max-width:600px) {

    .topbar {

        height: 66px;

        padding: 0 14px;

    }

    .logo {

        font-size: 24px;

    }

    .header-actions button {

        width: 40px;

        height: 40px;

    }

    .stories {

        gap: 14px;

        padding: 14px;

    }

    .story-ring {

        width: 66px;

        height: 66px;

    }

    .story span {

        font-size: 12px;

    }

    .feed {

        padding: 0 10px 25px;

    }

    .post {

        border-radius: 18px;

    }

    .profile img {

        width: 46px;

        height: 46px;

    }

    .profile h3 {

        font-size: 15px;

    }

    .post-image img {

        height: 280px;

    }

    .post-content {

        padding: 18px;

    }

    .post-content h2 {

        font-size: 22px;

    }

    .post-content p {

        font-size: 14px;

    }

    .post-actions {

        padding: 14px 10px;

    }

    .post-actions button {

        font-size: 13px;

        gap: 6px;

    }

    .trip-item {

        flex-direction: column;

        align-items: flex-start;

        gap: 14px;

    }

    .trip-item a {

        width: 100%;

    }

    .fab {

        width: 56px;

        height: 56px;

        bottom: 88px;

        right: 16px;

    }

    .bottom-nav {

        height: 68px;

    }

}

/* ==========================================
   TOAST
========================================== */

.toast {
    position: fixed;
    left: 50%;
    bottom: 95px;
    transform: translateX(-50%) translateY(20px);
    background: rgba(31, 41, 55, 0.96);
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, transform .3s ease;
    z-index: 9999;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}


/* ==========================================
   IMAGE VIEWER
========================================== */

.viewer {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 9999;
    cursor: zoom-out;
    animation: viewerFade .25s ease;
}

.viewer img {
    max-width: 95%;
    max-height: 92%;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

@keyframes viewerFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* ==========================================
   DOUBLE TAP HEART
========================================== */

.heart-pop {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 84px;
    color: #ff3366;
    pointer-events: none;
    animation: heartPop .9s ease forwards;
}

@keyframes heartPop {

    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.4);
    }

    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -90%) scale(1);
    }

}


/* ==========================================
   REVEAL ANIMATION
========================================== */

.post {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}

.post.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================
   DARK MODE
========================================== */

body.dark {
    background: #111827;
    color: #f3f4f6;
}

body.dark .topbar,
body.dark .post,
body.dark .trending,
body.dark .trip-card,
body.dark .bottom-nav {
    background: #1f2937;
    color: #f3f4f6;
}

body.dark .book-box {
    background: #243244;
}

body.dark .post-content p,
body.dark .profile p,
body.dark .trip-item small,
body.dark .bottom-nav a {
    color: #cbd5e1;
}

body.dark .post-actions,
body.dark .book-box,
body.dark .trip-item {
    border-color: rgba(255, 255, 255, .08);
}

body.dark .trend-grid a {
    background: #273548;
    color: #f3f4f6;
}

body.dark .header-actions button,
body.dark .more {
    background: #2d3b4f;
    color: #f3f4f6;
}

/* ==========================================
   NEW POST MODAL
========================================== */

.post-modal {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, .55);

    display: flex;
    align-items: flex-end;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition: .3s;

    z-index: 10000;
}

.post-modal.active {

    opacity: 1;
    visibility: visible;

}

.post-sheet {

    width: min(700px, 100%);
    max-height: 92vh;

    background: #fff;

    border-radius: 28px 28px 0 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    transform: translateY(100%);

    transition: transform .35s ease;

}

.post-modal.active .post-sheet {

    transform: translateY(0);

}

.post-handle {

    width: 70px;
    height: 6px;

    border-radius: 999px;

    background: #d1d5db;

    margin: 14px auto;

}

.post-modal .post-header {

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 20px 18px;

    border-bottom: 1px solid var(--border);

}

.post-header-space {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.post-header h3 {

    font-size: 22px;
    font-weight: 700;

}

.post-back {

    width: 42px;
    height: 42px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: .25s;

}

.post-back:hover {

    background: #f3f4f6;

}

.post-publish {

    position: sticky;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 58px;

    background: var(--orange);
    color: #fff;

    font-size: 16px;
    font-weight: 700;

    border-radius: 0;

    z-index: 20;
}

.post-photo {

    padding: 24px;

}

.photo-picker {

    width: 100%;
    height: 220px;

    border: 2px dashed #d6dbe5;

    border-radius: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 12px;

    color: var(--muted);

    transition: .25s;

}

.photo-picker:hover {

    border-color: var(--orange);

    color: var(--orange);

    background: #fff8f3;

}

.photo-picker i {

    font-size: 42px;

}

.post-preview {

    display: none;

    margin-top: 18px;

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid var(--border);

    background: #f8fafc;

}

.post-preview.show {

    display: block;

}

.post-preview img {

    width: 100%;

    max-height: 320px;

    object-fit: cover;

    display: block;

}

.post-photo.has-image .photo-picker {

    display: none;

}

.post-photo.has-image .post-preview {

    display: block;

}

.post-form {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px 90px;
}

.post-user {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 22px;

}

.post-user img {

    width: 56px;

    height: 56px;

    border-radius: 50%;

    object-fit: cover;

    flex-shrink: 0;

}

.post-user-info {

    flex: 1;

}

.post-user-info h4 {

    font-size: 18px;

    font-weight: 700;

    margin: 0;

}

.post-user h4 {

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 8px;

}

.privacy-btn {

    display: flex;

    align-items: center;

    gap: 6px;

    padding: 8px 14px;

    border: 1px solid var(--border);

    border-radius: 999px;

    background: #f8fafc;

    color: #4b5563;

    font-size: 13px;

    font-weight: 600;

    white-space: nowrap;

    transition: .25s;

}

/* Location + Tag Place */

/* ===== Meta Pills ===== */

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 22px;
}

.meta-pill {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 12px 18px;

    border: 1px solid #ffe3cf;
    border-radius: 999px;

    background: #fff8f3;
    color: #374151;

    font-size: 14px;
    font-weight: 600;

    transition: .25s;
}

.meta-pill i {
    color: var(--orange);
}

.meta-pill:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

.meta-pill:hover i {
    color: #fff;
}



.privacy-btn:hover {

    border-color: var(--orange);

    color: var(--orange);

}

.caption-box {
    font-family: "Inter", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
    color: #111827;

    border: 0;
    outline: 0;
    resize: none;
    background: transparent;

    -webkit-appearance: none;
    appearance: none;
}

.caption-box::placeholder {

    color: #9ca3af;

}

.caption-box:focus {

    border: none !important;

    box-shadow: none;

}

.post-tools {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 22px;

}

.post-tools button {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 18px;

    border: 1px solid var(--border);

    border-radius: 999px;

    background: #fff;

    transition: .25s;

}

.post-tools button:hover {

    border-color: var(--orange);

    color: var(--orange);

    background: #fff8f3;

}

.post-form label {

    display: block;

    font-weight: 700;

    margin: 18px 0 8px;

}

.post-form input,
.post-form textarea {

    width: 100%;

    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 16px;

    font-size: 15px;

    outline: none;

    transition: .25s;

}

.post-form textarea {

    resize: vertical;
    min-height: 140px;

}

.post-form input:focus,
.post-form textarea:focus {

    border-color: var(--orange);

}

@media(max-width:600px) {

    .post-header {

        padding: 0 16px 16px;

    }

    .post-photo {

        padding: 18px;

    }


    .post-form {

        padding: 0 18px 18px;

    }

    .photo-picker {

        height: 180px;

    }

}

/* ==========================================
   COMMENTS MODAL
========================================== */

.comments-modal {

    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, .55);

    display: flex;
    align-items: flex-end;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition: .3s;

    z-index: 10000;

}

.comments-modal.active {

    opacity: 1;
    visibility: visible;

}

.comments-sheet {

    width: min(680px, 100%);
    max-height: 85vh;

    background: #fff;

    border-radius: 24px 24px 0 0;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    transform: translateY(100%);

    transition: transform .35s ease;

}

.comments-modal.active .comments-sheet {

    transform: translateY(0);

}


/* ==========================================
   HANDLE
========================================== */

.comments-handle {

    width: 70px;
    height: 6px;

    border-radius: 999px;

    background: #d1d5db;

    margin: 14px auto;

}


/* ==========================================
   HEADER
========================================== */

.comments-header {

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 22px 18px;

    border-bottom: 1px solid var(--border);

}

.comments-header h3 {

    font-size: 22px;
    font-weight: 700;

}

.comments-close {

    width: 42px;
    height: 42px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: .25s;

}

.comments-close:hover {

    background: #f3f4f6;

}


/* ==========================================
   COMMENT LIST
========================================== */

.comments-list {

    flex: 1;

    overflow-y: auto;

    padding: 20px;

}

.comment-item {

    display: flex;

    gap: 14px;

    margin-bottom: 22px;

}

.comment-item:last-child {

    margin-bottom: 0;

}

.comment-item img {

    width: 46px;
    height: 46px;

    border-radius: 50%;

    object-fit: cover;

    flex-shrink: 0;

}

.comment-item h4 {

    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 15px;

    margin-bottom: 6px;

}

.comment-item h4 span {

    color: var(--muted);

    font-size: 12px;

    font-weight: 500;

}

.comment-item p {

    color: #4b5563;

    line-height: 1.6;

}


/* ==========================================
   INPUT AREA
========================================== */

.comment-input-box {

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 18px 20px;

    border-top: 1px solid var(--border);

    background: #fff;

}

.comment-input-box img {

    width: 46px;
    height: 46px;

    border-radius: 50%;

    object-fit: cover;

}

.comment-input-box input {

    flex: 1;

    height: 48px;

    border: 1px solid var(--border);

    border-radius: 999px;

    padding: 0 18px;

    outline: none;

    font-size: 15px;

    transition: .25s;

}

.comment-input-box input:focus {

    border-color: var(--orange);

}

.comment-input-box button {

    width: 48px;
    height: 48px;

    border-radius: 50%;

    background: var(--orange);

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;

    transition: .25s;

}

.comment-input-box button:hover {

    background: #e55d00;

    transform: scale(1.05);

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width:600px) {

    .comments-sheet {

        max-height: 92vh;

    }

    .comments-header {

        padding: 0 16px 16px;

    }

    .comments-list {

        padding: 16px;

    }

    .comment-input-box {

        padding: 14px;

    }

}

/* ==========================================
   TRIP POPUP
========================================== */

.trip-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition: .3s;
    z-index: 10001;
}

.trip-popup.show {
    opacity: 1;
    visibility: visible;
}

.trip-popup-box {
    width: min(430px, 92%);
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    animation: popupScale .3s ease;
}

.trip-popup-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.trip-popup-box h2 {
    padding: 22px 22px 8px;
    font-size: 26px;
}

.trip-popup-box p {
    padding: 0 22px 20px;
    color: #6b7280;
    line-height: 1.7;
}

.trip-book-btn {
    display: block;
    margin: 0 22px 24px;
    background: var(--orange);
    color: #fff;
    text-align: center;
    padding: 14px;
    border-radius: 999px;
    font-weight: 700;
}

.trip-close {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 40px;
    height: 40px;

    border-radius: 50%;
    background: #fff;
}

@keyframes popupScale {
    from {
        opacity: 0;
        transform: scale(.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================
   NOTIFICATION PANEL
========================================== */

.notifications-panel {

    position: fixed;

    top: 84px;
    right: 20px;

    width: 380px;
    max-height: 520px;

    background: #fff;

    border-radius: 22px;

    box-shadow: 0 25px 60px rgba(0, 0, 0, .18);

    border: 1px solid var(--border);

    overflow: hidden;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-12px);

    transition: .25s;

    z-index: 10002;

}

.notifications-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 18px 20px;

    border-bottom: 1px solid var(--border);

}

.notification-header h3 {

    font-size: 22px;

    font-weight: 700;

}

#markAllRead {

    color: var(--orange);

    font-weight: 700;

}

.notification-list {

    max-height: 430px;

    overflow-y: auto;

}

.notification-item {

    display: flex;

    gap: 14px;

    padding: 18px 20px;

    cursor: pointer;

    transition: .2s;

    border-bottom: 1px solid #f3f4f6;

}

.notification-item:last-child {

    border-bottom: none;

}

.notification-item:hover {

    background: #fafafa;

}

.notification-icon {

    width: 46px;
    height: 46px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    font-size: 18px;

}

.notification-like {

    background: #fff1f2;
    color: #e11d48;

}

.notification-comment {

    background: #eff6ff;
    color: #2563eb;

}

.notification-booking {

    background: #ecfdf5;
    color: #16a34a;

}

.notification-content {

    flex: 1;

}

.notification-content p {

    font-size: 14px;

    line-height: 1.5;

}

.notification-content span {

    display: block;

    margin-top: 6px;

    color: var(--muted);

    font-size: 12px;

}

.notification-empty {

    padding: 70px 24px;

    text-align: center;

    color: var(--muted);

}

/* Mobile */

@media(max-width:600px) {

    .notifications-panel {

        top: 66px;

        right: 10px;

        left: 10px;

        width: auto;

        max-height: 70vh;

    }

}

/* ==========================================
   MENU PANEL
========================================== */

.menu-panel {
    position: fixed;

    top: 84px;
    right: 20px;

    width: 300px;

    background: #fff;
    border-radius: 22px;

    border: 1px solid var(--border);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .18);

    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);

    transition: .25s;

    z-index: 10002;
}

.menu-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.menu-header h3 {
    font-size: 22px;
    font-weight: 700;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 18px 20px;

    transition: .2s;
}

.menu-item:hover {
    background: #fafafa;
}

.menu-item i:first-child {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eff6ff;
    color: var(--blue);

    font-size: 18px;
}

.menu-item span {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
}

.menu-item i:last-child {
    color: #9ca3af;
}

@media(max-width:600px) {

    .menu-panel {
        top: 66px;
        left: 10px;
        right: 10px;
        width: auto;
    }

}