/* Select2 Style Overrides for Modern Card Look */
.select2-container--default .select2-selection--multiple {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    min-height: 38px;
    padding: 0.25rem 0.5rem;
    box-shadow: none;
    transition: var(--transition-standard);
}

.select2-container--default .select2-selection--multiple:focus {
    border-color: var(--forest-green);
    box-shadow: 0 0 0 0.2rem rgba(35, 79, 66, 0.15);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--sage-green);
    border: none;
    color: var(--charcoal);
    border-radius: 6px;
    margin-top: 4px;
    margin-right: 4px;
    padding: 0.25rem 0.75rem;
    font-size: 0.95em;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
    margin-right: 6px;
    font-weight: bold;
}

.select2-container--default .select2-selection--multiple .select2-search__field {
    color: var(--charcoal);
    font-size: 1em;
}

.select2-container--default .select2-selection--multiple {
    cursor: text;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: var(--mountain-gold);
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    color: var(--mountain-gold);
    margin-right: 8px;
    font-size: 1.1em;
}

.select2-container--default .select2-selection--multiple {
    border-width: 1.5px;
}
/* 
  styles.css for Charting Paths - Modern Card-Based Design
  Updated to support consistent visual foundation
*/

/* Global Styles */
:root {
    /* Brand palette (per CHARTING_PATHS_BRAND_GUIDELINES.pdf page 6) */
    --forest-green: #234f42;
    --sage-green: #9b957a;
    --warm-gray: #D9D0C7;
    --charcoal: #4d4d4f;
    --mountain-gold: #c3bfaf;
    --impact-blue: #9b957a;
    --light-neutral: #e3e1db;

    /* Supporting tones (derived from brand palette for the redesign) */
    --forest-green-soft: #2d6151;
    --forest-green-deep: #1a3b32;
    --forest-green-tint: #eaf0ed;
    --sage-deep: #7f7b66;
    --sage-tint: #ede8db;
    --charcoal-soft: #6e6e70;
    --line-grey: #ececea;
    --line-grey-soft: #f4f3ef;
    --line-grey-hairline: #d8d6d0;
    --cream: #f7f6f2;
    --cream-warm: #f2efe6;
    --amber: #c08a3e;
    --amber-tint: #f7ecd6;

    --card-border-radius: 16px;
    --light-bg: #f8f9fa;
    --card-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --card-shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
    --transition-standard: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: var(--charcoal);
    line-height: 1.6;
}

/* Modern Card System */
.modern-card {
    background: white;
    border: none;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition-standard);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.modern-card-header {
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    background: none;
    display: flex;
    justify-content: between;
    align-items: center;
}

.modern-card-header h5 {
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    color: var(--charcoal);
}

.modern-card-header h5 i {
    margin-right: 0.5rem;
    color: var(--forest-green);
}

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

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition-standard);
}

.btn-primary {
    background-color: var(--forest-green);
    border-color: var(--forest-green);
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #1a3d33;
    border-color: #1a3d33;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-success {
    background-color: var(--sage-green);
    border-color: var(--sage-green);
    color: #ffffff;
}

.btn-success:hover {
    background-color: #5f8a7f;
    border-color: #5f8a7f;
}

/* Form Controls */
.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: var(--transition-standard);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--forest-green);
    box-shadow: 0 0 0 0.2rem rgba(35, 79, 66, 0.15);
}

/* Dropdown Menus */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: var(--transition-standard);
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--forest-green);
}

.dropdown-item i {
    width: 20px;
    margin-right: 8px;
    color: var(--forest-green);
}

/* Tables */
.table {
    background: white;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.table th {
    background-color: var(--light-bg);
    font-weight: 600;
    color: var(--charcoal);
    border-top: none;
    padding: 1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
    border-top: 1px solid #f0f0f0;
}

/* Badges */
.badge {
    border-radius: 12px;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
}

/* Override Bootstrap bg-* utilities to use our palette */
.bg-primary {
    background-color: var(--forest-green) !important;
    color: #ffffff !important;
}
.bg-success {
    background-color: var(--forest-green) !important;
    color: #ffffff !important;
}
.bg-secondary {
    background-color: var(--sage-green) !important;
    color: #ffffff !important;
}
.bg-info {
    background-color: var(--sage-green) !important;
    color: #ffffff !important;
}
.text-primary {
    color: var(--forest-green) !important;
}
.text-success {
    color: var(--forest-green) !important;
}
.border-primary {
    border-color: var(--forest-green) !important;
}
.border-success {
    border-color: var(--forest-green) !important;
}

/* Alert Messages */
.alert {
    border: none;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Filter Components */
.filters-container {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group label {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    display: block;
}

/* View Toggle */
.view-toggle {
    display: flex;
    background: white;
    border-radius: 8px;
    padding: 0.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.view-toggle button {
    flex: 1;
    border: none;
    background: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition-standard);
    color: var(--charcoal);
    font-weight: 500;
}

.view-toggle button.active {
    background: var(--forest-green);
    color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Pagination */
.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.page-link {
    color: var(--forest-green);
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin: 0 2px;
}

.page-link:hover {
    background-color: var(--light-bg);
    border-color: var(--forest-green);
    color: var(--forest-green);
}

.page-item.active .page-link {
    background-color: var(--forest-green);
    border-color: var(--forest-green);
    color: white;
}

/* Card Grid Layouts */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card-grid-small {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.card-grid-large {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state-icon {
    font-size: 4rem;
    opacity: 0.3;
    margin-bottom: 1rem;
    color: var(--warm-gray);
}

.empty-state h4 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--charcoal);
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* Progress Bars */
.progress {
    height: 8px;
    border-radius: 10px;
    background-color: #e9ecef;
}

.progress-bar {
    background-color: var(--forest-green);
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-card-header {
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .modern-card-body {
        padding: 1rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card-grid-large {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filters-container {
        padding: 1rem;
    }

    .view-toggle {
        flex-direction: column;
    }

    .view-toggle button {
        margin-bottom: 0.25rem;
    }

    .view-toggle button:last-child {
        margin-bottom: 0;
    }

    /* Prevent page title + buttons from overlapping on mobile */
    .d-flex.justify-content-between {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    /* Fix headings overflow */
    h1, h2, h3 {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    /* Reduce table padding on mobile */
    .table th,
    .table td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    /* Card header with buttons - stack vertically */
    .card-header.d-flex {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* Dashboard hero section */
    .dashboard-hero {
        padding: 1.25rem 0;
    }

    .dashboard-hero h1 {
        font-size: 1.5rem;
    }

    .dashboard-hero .lead {
        font-size: 1rem;
    }

    /* Activity log cards */
    .activity-log-card {
        padding: 12px;
    }

    /* Stat values */
    .stat-value,
    .stat-value-large {
        font-size: 1.75rem;
    }

    /* Badge overflow */
    .badge {
        word-break: break-word;
        white-space: normal;
        text-align: left;
    }

    /* Button groups on mobile */
    .btn-group {
        flex-wrap: wrap;
    }

    /* Ensure container padding is reasonable */
    .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Reduce chart height on mobile */
    .chart-canvas-wrapper {
        height: 220px !important;
    }

    .chart-container canvas {
        max-height: 220px;
    }

    /* Prevent clickable card hover lift on mobile */
    .clickable-card:hover {
        transform: none;
    }

    /* Prevent dashboard card hover lift on mobile */
    .dashboard-card:hover {
        transform: none;
    }
}

@media (max-width: 576px) {
    .modern-card {
        border-radius: 12px;
        margin-bottom: 1rem;
    }

    .filters-container {
        border-radius: 8px;
    }

    /* Stack flex items vertically on small screens */
    .d-flex.justify-content-between.align-items-center {
        flex-direction: column;
        align-items: flex-start !important;
    }

    /* Buttons go full width on very small screens */
    .d-flex.gap-2 {
        flex-wrap: wrap;
        width: 100%;
    }

    .d-flex.gap-2 > .btn,
    .d-flex.gap-2 > .btn-group {
        flex: 1 1 auto;
    }

    /* Even smaller stat values */
    .stat-value,
    .stat-value-large {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Form cards more compact */
    .form-card,
    .beneficiary-card {
        padding: 1rem;
    }

    /* Reduce font sizes */
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1rem; }
    h5 { font-size: 0.95rem; }
}

/* Legacy Compatibility - Use standard CSS classes */
.dashboard-card {
    background: white;
    border: none;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition-standard);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.dashboard-card-header {
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    background: none;
    display: flex;
    justify-content: between;
    align-items: center;
}

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

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Utility Classes */
.text-forest-green { color: var(--forest-green) !important; }
.text-sage-green { color: var(--sage-green) !important; }
.text-mountain-gold { color: var(--mountain-gold) !important; }
.text-impact-blue { color: var(--impact-blue) !important; }

.bg-forest-green { background-color: var(--forest-green) !important; }
.bg-sage-green { background-color: var(--sage-green) !important; }
.bg-light-bg { background-color: var(--light-bg) !important; }

.border-forest-green { border-color: var(--forest-green) !important; }
.border-radius-card { border-radius: var(--card-border-radius) !important; }

#sidebar.active {
    width: var(--sidebar-collapsed-width);
}

#sidebar .sidebar-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#sidebar .sidebar-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Trajan Pro', serif;
    text-transform: uppercase;
}

#sidebar.active .sidebar-header h3 {
    display: none;
}

/* Close button for mobile */
.sidebar-close-mobile {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

#sidebar ul.components {
    padding: 20px 0;
    overflow-y: auto;
    flex-grow: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#sidebar ul li {
    position: relative;
}

#sidebar ul li a {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

#sidebar ul li a:hover,
#sidebar ul li.active > a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--mountain-gold);
    padding-left: 11px; /* Compensate for border */
}

#sidebar ul li a i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

#sidebar.active ul li a {
    padding: 10px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#sidebar.active ul li a i {
    margin-right: 0;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

#sidebar.active ul li a span {
    font-size: 10px;
    display: block; /* Always show text, even in collapsed mode */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

#sidebar.active ul li a:hover,
#sidebar.active ul li.active > a {
    border-left: none;
    border-top: 4px solid var(--mountain-gold);
    padding-top: 6px; /* Compensate for border */
    padding-left: 0;
}

#sidebar ul ul a {
    padding-left: 30px;
    background: rgba(0, 0, 0, 0.1);
}

#sidebar .sidebar-footer {
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#sidebar .sidebar-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s;
    width: 48%;
    margin-bottom: 5px;
}

#sidebar .sidebar-footer a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

#sidebar .sidebar-footer a i {
    margin-right: 5px;
}

#sidebar.active .sidebar-footer {
    flex-direction: column;
    align-items: center;
    padding: 5px;
}

#sidebar.active .sidebar-footer a {
    margin: 2px 0;
    width: 100%;
    padding: 8px 0;
    justify-content: center;
}

#sidebar.active .sidebar-footer a span {
    display: none;
}

/* Page Content */
#content {
    width: calc(100% - var(--sidebar-width));
    margin-left: var(--sidebar-width);
    transition: all 0.3s;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#content.active {
    width: calc(100% - var(--sidebar-collapsed-width));
    margin-left: var(--sidebar-collapsed-width);
}

#content .navbar {
    padding: 15px 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

#content .navbar .btn {
    background: transparent;
    color: var(--charcoal);
}

/* Timeline styling */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item-marker {
    position: absolute;
    left: -30px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: var(--forest-green);
    box-shadow: 0 0 0 2px var(--forest-green);
}

.timeline-item-content {
    padding: 15px;
    border-radius: 6px;
    background-color: #f9f9f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    margin-bottom: 0;
    flex-grow: 1;
}

.breadcrumb-item a {
    color: var(--forest-green);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--charcoal);
}

/* Quick Actions */
.btn-primary {
    background-color: var(--forest-green);
    border-color: var(--forest-green);
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #1a3d33;
    border-color: #1a3d33;
    color: #ffffff;
}

.dropdown-menu {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    border: none;
    min-width: 220px;
    margin-top: 0.5rem;
    border-radius: 8px;
}

.dropdown-item {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(35, 79, 66, 0.1);
}

.dropdown-item i {
    width: 20px;
    margin-right: 8px;
    color: var(--forest-green);
}

/* Quick Actions Button */
.quick-actions-nav {
    margin-left: auto; /* Push to right side of navbar */
    display: flex;
    align-items: center;
}

.quick-actions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--forest-green);
    border-color: var(--forest-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-right: 0.5rem;
    white-space: nowrap;
    height: auto;
    width: auto;
    min-width: auto;
}

.quick-actions-btn:hover,
.quick-actions-btn:focus {
    background-color: #1a3d33;
    border-color: #1a3d33;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: white;
}

.quick-actions-btn i {
    margin-right: 5px;
}

/* Remove old floating button styles */
.quick-actions-container {
    display: none;
}

/* Important fix for breadcrumb pages */
.navbar .container-fluid {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Media Queries */
@media (max-width: 768px) {
    #sidebar {
        width: 220px;
        left: -220px;
    }
    
    #sidebar.active {
        left: 0;
        width: 220px;
    }

    .sidebar-close-mobile {
        display: block;
    }
    
    #sidebar.active ul li a {
        flex-direction: row;
        text-align: left;
        padding: 10px 15px;
    }
    
    #sidebar.active ul li a i {
        margin-right: 10px;
        margin-bottom: 0;
    }
    
    #sidebar.active ul li a span {
        font-size: 14px;
    }
    
    #content {
        width: 100%;
        margin-left: 0;
    }
    
    #content.active {
        width: calc(100% - 220px);
        margin-left: 220px;
    }

    .quick-actions-btn {
        padding: 0.5rem;
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }
    
    .quick-actions-btn i {
        margin-right: 0;
    }
    
    .quick-actions-btn span {
        display: none;
    }
    
    /* Ensure button stays visible and properly sized on mobile */
    .navbar .container-fluid {
        padding-right: 12px;
    }
}

/* =====================================================
   Activity Log Cards - Clean, Modern Design
   ===================================================== */

.activity-logs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-log-card {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    border-left: 4px solid #6c757d;
    padding: 16px 20px;
    transition: all 0.2s ease;
}

.activity-log-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

/* Status-based left border colors */
.activity-log-card[data-status="completed"] { border-left-color: #28a745; }
.activity-log-card[data-status="in_progress"] { border-left-color: #ffc107; }
.activity-log-card[data-status="preparation"] { border-left-color: #6c757d; }
.activity-log-card[data-status="cancelled"] { 
    border-left-color: #dc3545; 
    opacity: 0.75;
}

/* Status icon styling */
.log-status-icon {
    font-size: 28px;
    margin-right: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.log-status-icon .fa-check-circle { color: #28a745; }
.log-status-icon .fa-cog { color: #ffc107; }
.log-status-icon .fa-pause-circle { color: #6c757d; }
.log-status-icon .fa-times-circle { color: #dc3545; }

/* Content area */
.log-content {
    min-width: 0; /* Allow text truncation if needed */
}

.log-title-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Step badge for multi-step journeys */
.step-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    background: #e3f2fd;
    color: #1976d2;
    white-space: nowrap;
}

/* Log title */
.log-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    line-height: 1.4;
}

.text-decoration-line-through { 
    text-decoration: line-through;
    opacity: 0.7;
}

/* Status badge (right side) */
.status-badge {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: capitalize;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-badge.status-completed { 
    background: #d4edda; 
    color: #155724; 
}

.status-badge.status-in_progress { 
    background: #fff3cd; 
    color: #856404; 
}

.status-badge.status-preparation { 
    background: #e2e3e5; 
    color: #383d41; 
}

.status-badge.status-cancelled { 
    background: #f8d7da; 
    color: #721c24; 
}

/* Meta information (date, attendees) */
.log-meta {
    font-size: 13px;
    color: #6c757d;
    margin-top: 4px;
}

.log-meta i { 
    font-size: 11px;
    opacity: 0.8;
}

/* Action buttons */
.log-actions {
    flex-shrink: 0;
    align-self: flex-start;
}

/* Responsive design */
@media (max-width: 768px) {
    .activity-log-card {
        padding: 14px 16px;
    }
    
    .activity-log-card .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .log-status-icon {
        margin-bottom: 12px;
        margin-right: 0;
    }
    
    .log-actions {
        width: 100%;
        margin-top: 12px;
        margin-left: 0 !important;
        flex-direction: column;
    }
    
    .log-actions .btn {
        width: 100%;
    }
    
    .status-badge {
        margin-top: 8px;
    }
}

/* Info Banner Styles */
.info-banner {
    display: flex;
    align-items: center;
    padding: 16px;
    background: rgba(23, 162, 184, 0.05);
    border-left: 4px solid #17a2b8;
    border-radius: 4px;
    margin-bottom: 20px;
}

.info-icon {
    font-size: 20px;
    color: #17a2b8;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-right: 16px;
    flex-shrink: 0;
}

.info-content {
    flex-grow: 1;
}

.info-content strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    color: #2c3e50;
}

.info-content p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

.info-banner-journey {
    border-left-color: #17a2b8;
}

.info-banner-journey .info-icon {
    color: #17a2b8;
}