/* ============================================
   TripPlanner - Unified Stylesheet
   Modern Ocean/Teal Theme - Hebrew RTL
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #0EA5E9;
    --primary-dark: #0284C7;
    --primary-light: #38BDF8;
    --secondary: #0F172A;
    --secondary-light: #1E293B;
    --accent: #F59E0B;
    --accent-light: #FBBF24;
    --success: #10B981;
    --success-dark: #059669;
    --danger: #EF4444;
    --danger-dark: #DC2626;
    --warning: #F59E0B;
    --info: #06B6D4;
    --bg: #F1F5F9;
    --bg-card: #FFFFFF;
    --text: #0F172A;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base Styles ---------- */
* { box-sizing: border-box; }

body {
    font-family: 'Rubik', 'Segoe UI', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    direction: rtl;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* ---------- Page Layout ---------- */
.page-bg {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, #0c4a6e 100%);
    min-height: 100vh;
    padding: 0;
}

.page-bg-light {
    background: var(--bg);
    min-height: 100vh;
}

/* ---------- Navbar ---------- */
.navbar-custom {
    background: var(--secondary);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0.75rem 0;
    box-shadow: var(--shadow);
}

.navbar-custom .navbar-brand {
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-custom .navbar-brand i { color: var(--primary-light); }
.navbar-custom .nav-link { color: rgba(255,255,255,0.8); font-weight: 500; padding: 0.5rem 1rem; border-radius: var(--radius-sm); transition: var(--transition); }
.navbar-custom .nav-link:hover { color: white; background: rgba(255,255,255,0.1); }
.navbar-custom .nav-link.active { color: white; background: var(--primary); }

.nav-user-badge {
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ---------- Main Container ---------- */
.main-container {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin: 1.5rem auto;
    max-width: 1200px;
    overflow: hidden;
}

.main-container.wide { max-width: 1400px; }
.main-container.narrow { max-width: 600px; }

/* ---------- Page Header ---------- */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, #0c4a6e 100%);
    color: white;
    padding: 2rem 2.5rem;
    position: relative;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-header h1 i { color: var(--primary-light); }
.page-header p { color: rgba(255,255,255,0.8); margin: 0.5rem 0 0 0; font-size: 1rem; }

.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* ---------- Content Area ---------- */
.content-area { padding: 2rem 2.5rem; }

/* ---------- Cards ---------- */
.card-custom {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card-custom:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-custom .card-body { padding: 1.5rem; }

/* Trip Card */
.trip-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border-right: 4px solid var(--primary);
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 1rem;
}

.trip-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-right-color: var(--accent);
}

.trip-card .trip-name {
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.trip-card .trip-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Add Trip Card */
.add-trip-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: 2px dashed rgba(255,255,255,0.4);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 160px;
    cursor: pointer;
    border-right: none;
}

.add-trip-card:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #075985 100%);
    border-color: white;
    transform: translateY(-3px);
}

.add-trip-card i { font-size: 2.5rem; margin-bottom: 0.75rem; }
.add-trip-card h4 { margin: 0; font-weight: 600; }
.add-trip-card p { margin: 0.5rem 0 0; opacity: 0.9; }

/* Locked Card */
.locked-card {
    background: var(--bg);
    color: var(--text-muted);
    border: 2px dashed var(--border);
    text-align: center;
    padding: 2.5rem;
    cursor: not-allowed;
    border-right: none;
}

.locked-card i { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.4; }

/* ---------- Stats Cards ---------- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover { box-shadow: var(--shadow); }

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-card.primary { border-top: 3px solid var(--primary); }
.stat-card.primary .stat-value { color: var(--primary); }
.stat-card.danger { border-top: 3px solid var(--danger); }
.stat-card.danger .stat-value { color: var(--danger); }
.stat-card.success { border-top: 3px solid var(--success); }
.stat-card.success .stat-value { color: var(--success); }
.stat-card.accent { border-top: 3px solid var(--accent); }
.stat-card.accent .stat-value { color: var(--accent); }

/* ---------- Trip Stats Inline ---------- */
.trip-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
}

.trip-stats .stat-item { text-align: center; flex: 1; }
.trip-stats .stat-item .value { display: block; font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.trip-stats .stat-item .label { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn-primary-custom {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.btn-success-custom {
    background: var(--success);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-success-custom:hover {
    background: var(--success-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-danger-custom {
    background: var(--danger);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-danger-custom:hover {
    background: var(--danger-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.btn-accent-custom {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-accent-custom:hover {
    background: #D97706;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: white;
}

/* ---------- Tabs ---------- */
.nav-tabs-custom {
    border-bottom: 2px solid var(--border);
    padding: 0 1.5rem;
    background: var(--bg-card);
}

.nav-tabs-custom .nav-link {
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    margin-bottom: -2px;
}

.nav-tabs-custom .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: none;
}

.nav-tabs-custom .nav-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-light);
}

/* ---------- Forms ---------- */
.section-header {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-right: 4px solid var(--primary);
}

.section-title {
    color: var(--text);
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-label { font-weight: 500; color: var(--text); margin-bottom: 0.4rem; }
.form-label .required { color: var(--danger); }

/* ---------- Tables ---------- */
.table-container {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin: 1.5rem 0;
}

.table-custom { margin: 0; direction: rtl; }

.table-custom thead th {
    background: var(--secondary);
    color: white;
    font-weight: 600;
    border: none;
    padding: 0.875rem 1rem;
    text-align: right;
    font-size: 0.9rem;
}

.table-custom tbody td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border-light);
    text-align: right;
    vertical-align: middle;
    font-size: 0.9rem;
}

.table-custom tbody tr { transition: var(--transition); }
.table-custom tbody tr:hover { background-color: var(--bg); }
.table-custom tbody tr:last-child td { border-bottom: none; }

/* ---------- Badges ---------- */
.badge-cost {
    background: var(--danger);
    color: white;
    font-size: 0.85rem;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
}

.badge-category {
    background: var(--info);
    color: white;
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
}

/* ---------- Alerts ---------- */
.alert-custom {
    border-radius: var(--radius);
    border: none;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

/* ---------- Auth Pages ---------- */
.auth-container {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    max-width: 480px;
    width: 100%;
    margin: 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .logo-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.auth-header .logo-icon i { font-size: 1.75rem; color: white; }
.auth-header h1 { color: var(--text); font-size: 1.75rem; margin-bottom: 0.5rem; }
.auth-header p { color: var(--text-muted); font-size: 0.95rem; }

.btn-auth {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    width: 100%;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    transition: var(--transition);
}

.btn-auth:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
}

.auth-link a { color: var(--primary); font-weight: 600; }
.auth-link a:hover { text-decoration: underline; }

.form-floating label { text-align: right; }
.invalid-feedback { text-align: right; display: block; }

/* ---------- Profile Page ---------- */
.subscription-status {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    color: white;
}

.subscription-status.active { background: linear-gradient(135deg, var(--success), var(--success-dark)); }
.subscription-status.trial { background: linear-gradient(135deg, var(--accent), #D97706); }
.subscription-status.expired { background: linear-gradient(135deg, var(--danger), var(--danger-dark)); }

.subscription-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.detail-item {
    background: rgba(255,255,255,0.2);
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
}

.detail-item h5 { font-size: 0.85rem; margin-bottom: 0.25rem; opacity: 0.9; }
.detail-item p { font-size: 1.2rem; font-weight: 700; margin: 0; }

/* ---------- Pricing Cards ---------- */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pricing-card.popular { border-color: var(--accent); transform: scale(1.03); }
.pricing-card.popular:hover { transform: scale(1.03) translateY(-5px); }

.popular-badge {
    position: absolute;
    top: -14px;
    right: 50%;
    transform: translateX(50%);
    background: var(--accent);
    color: white;
    padding: 0.3rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

.plan-name { font-size: 1.5rem; color: var(--text); font-weight: 700; margin-bottom: 0.5rem; }
.plan-price { font-size: 2.75rem; color: var(--primary); font-weight: 700; margin: 1.25rem 0; }
.plan-price .currency { font-size: 1.5rem; }
.plan-price .period { font-size: 1rem; color: var(--text-muted); }

.plan-features { list-style: none; padding: 0; margin: 1.5rem 0; }
.plan-features li { padding: 0.75rem 0; border-bottom: 1px solid var(--border-light); color: var(--text); }
.plan-features li:last-child { border-bottom: none; }
.plan-features li i { color: var(--success); margin-left: 0.5rem; }

.btn-subscribe {
    width: 100%;
    padding: 0.875rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.btn-subscribe.primary { background: var(--primary); color: white; }
.btn-subscribe.primary:hover { background: var(--primary-dark); box-shadow: 0 4px 15px rgba(14,165,233,0.4); }
.btn-subscribe.secondary { background: var(--text-muted); color: white; }
.btn-subscribe.secondary:hover { background: var(--secondary-light); }

/* ---------- Export Section ---------- */
.export-section {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
    border: 1px solid var(--border);
}

.export-section h4 { color: var(--text); margin-bottom: 1rem; font-weight: 600; }

/* ---------- Schedule Display ---------- */
.schedule-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary);
    overflow: hidden;
}

.schedule-header {
    background: var(--primary);
    color: white;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-header h3 { margin: 0; font-size: 1.3rem; font-weight: 600; }

.schedule-content {
    padding: 1.5rem;
    max-height: 600px;
    overflow-y: auto;
}

.schedule-day {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.day-header {
    background: var(--secondary);
    color: white;
    padding: 0.875rem 1.25rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.day-activities { padding: 1rem; }

.activity-schedule-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border-right: 4px solid var(--primary);
    transition: var(--transition);
}

.activity-schedule-item:hover { background: #E0F2FE; transform: translateX(-3px); }

.time-badge {
    background: var(--danger);
    color: white;
    padding: 0.4rem 0.875rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 70px;
    text-align: center;
    margin-left: 1rem;
    box-shadow: 0 2px 6px rgba(239,68,68,0.3);
}

.activity-content { flex: 1; }
.activity-title { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 600; color: var(--text); }
.activity-address { margin: 0.25rem 0; color: var(--text-muted); font-size: 0.85rem; }
.activity-cost { margin: 0.25rem 0 0; color: var(--success); font-weight: 600; font-size: 0.85rem; }

.day-summary {
    background: var(--accent);
    color: white;
    padding: 0.625rem 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.trip-summary {
    background: var(--secondary);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 1.25rem;
    text-align: center;
}

.trip-summary h4 { margin: 0 0 1rem; font-weight: 700; }

.summary-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.summary-stats .stat-item { text-align: center; flex: 1; min-width: 100px; }
.summary-stats .stat-label { display: block; font-size: 0.85rem; opacity: 0.9; margin-bottom: 0.25rem; }
.summary-stats .stat-value { display: block; font-size: 1.2rem; font-weight: 700; color: var(--accent); }

/* ---------- Admin Cards ---------- */
.admin-stat-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.admin-stat-card:hover { box-shadow: var(--shadow); }
.admin-stat-card .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.admin-stat-card .value { font-size: 2rem; font-weight: 700; display: block; }
.admin-stat-card .label { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Empty State ---------- */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
}

.empty-state i { font-size: 3rem; margin-bottom: 1rem; opacity: 0.4; }
.empty-state h5 { margin-bottom: 0.5rem; }

/* ---------- Trip Timing Cards ---------- */
.timing-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-top: 0.75rem;
}

.timing-card .card-header {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.timing-card .card-body { padding: 0.75rem 1rem; font-size: 0.9rem; }

/* ---------- Modal Overrides ---------- */
.modal-content { border-radius: var(--radius-lg); border: none; }
.modal-header { border-bottom: 1px solid var(--border); }
.modal-footer { border-top: 1px solid var(--border); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .main-container { margin: 0.75rem; border-radius: var(--radius-lg); }
    .page-header { padding: 1.5rem; }
    .page-header h1 { font-size: 1.5rem; }
    .content-area { padding: 1.25rem; }
    .auth-container { margin: 1rem; padding: 1.75rem; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .trip-stats { flex-wrap: wrap; }
    .pricing-cards { grid-template-columns: 1fr; }
    .summary-stats { flex-direction: column; }
    .navbar-custom .navbar-brand { font-size: 1.1rem; }
    .trip-card .trip-actions { flex-direction: column; gap: 0.75rem; }
}

@media (max-width: 480px) {
    .stats-row { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 1.3rem; }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up { animation: fadeInUp 0.4s ease-out; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse { animation: pulse 2s infinite; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--text-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ---------- Utilities ---------- */
.text-primary-custom { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-success-custom { color: var(--success) !important; }
.text-danger-custom { color: var(--danger) !important; }
.bg-primary-custom { background: var(--primary) !important; }
.border-primary-custom { border-color: var(--primary) !important; }

/* Trip action buttons row */
.trip-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.trip-dates .date-range { font-weight: 600; color: var(--primary); margin-bottom: 0.25rem; }
.trip-dates .created { font-size: 0.8rem; color: var(--text-muted); }
