/*----------------------------------------------
Typography
----------------------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap");

:root {
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-display: 'Playfair Display', serif;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-gradient-from-position: ;
    --tw-gradient-to-position: ;
    --background: 150 20% 98%;
}

.font-sans {
    font-family: var(--font-sans);
}

.font-display {
    font-family: var(--font-display);
}

.profile-meta .stats-inner h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1;
}

.profile-meta {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 1.5rem;
}

.avatar {
    margin-top: -50px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 4px solid rgb(255, 255, 255);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(10, 10, 10, 0.15);
}

.profile-card .profile-meta {
    background: var(--bg-color1);
    border-radius: 12px;
    top: -65px;
    position: relative;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(10, 10, 10, 0.05);
    background: linear-gradient(to bottom, rgba(246, 251, 249, 0.7), rgba(255, 255, 255, 1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.profile-card {
    background: transparent;
    top: 0;
}

.deshboard-nav .nav-tabs {
    display: flex;
    gap: 25px;
    padding: 0;
    border-top: none;
    border-bottom: 1px solid var(--bg-color4);
    margin-bottom: 32px;
}

.deshboard-nav {
    margin-top: -20px;
}

.top-actions {
    position: inherit;
}

.profile-meta .text-muted-foreground {
    margin-bottom: 0;
}

.cridet-text {
    font-size: 1.5rem;
    color: rgb(var(--primary-color));
    font-weight: 600;
    margin-bottom: 0;
}

.banner-overlay {
    position: absolute;
    width: 100%;
    height: 40%;
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
}


/* Trip List */
.trip-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Trip Card */
.trip-card {
    background-color: var(--card);
    border: 1px solid var(--border-color1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    cursor: pointer;
}

.trip-card:hover {
    box-shadow: 0 8px 32px -4px rgba(140, 152, 164, 0.15);
    transform: translateY(-2px);
    z-index: 1;
}

/* Card Header */
.trip-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.trip-info {
    flex: 1;
}

.trip-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.trip-title {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    color: rgb(var(--heading-color));
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid;
}

.status-completed {
    background-color: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}

.status-upcoming {
    background-color: #eff6ff;
    color: #1e40af;
    border-color: #bfdbfe;
}

.status-ongoing {
    background-color: rgba(0, 0, 0, 0.05);
    color: #000;
    border-color: #0000001a;
}


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

.trip-location {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.location-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--g600);
    font-size: 0.875rem;
    font-weight: 500;
}

.location-secondary {
    font-size: 0.75rem;
    color: var(--g500);
    margin-left: 1.5rem;
}

.icon {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: var(--bg-color2);
    border-radius: 0.5rem;
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background-color: var(--card);
    border-radius: 0.5rem;
}

.detail-icon .icon {
    color: rgb(var(--primary-color));
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--g500);
    margin-bottom: 0.125rem;
}

.detail-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--g600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.traveler-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--g600);
}

.traveler-count .icon {
    width: 0.875rem;
    height: 0.875rem;
}

/* Card Footer */
.trip-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color1);
}

.view-details-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(var(--primary-color));
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.view-details-btn:hover {
    gap: 0.75rem;
}

.view-details-btn .icon {
    width: 1rem;
    height: 1rem;
    color: rgb(var(--primary-color));
}


/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .trip-title {
        font-size: 1.125rem;
    }

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

    .trip-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .view-details-btn {
        justify-content: center;
    }

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