/* Custom Variables */
	:root {
		--primary-teal: #3b9780;
		--primary-teal-light: #e6f4ef;
		--sidebar-bg: #eefcf5;
		--bg-color: #fafbfc;
		--text-dark: #222222;
		--text-muted: #777777;
		--border-color: #eeeeee;
		--font-family: 'Poppins', sans-serif;
	}

	body {
		font-family: var(--font-family);
		background-color: var(--bg-color);
		color: var(--text-dark);
		margin: 0;
		overflow-x: hidden;
	}
	
	.custom-panel {
		background: 0px;	
	}
	
	.main-panel {
        background: white;
        padding: 15px;
        border-radius: 8px;
        border:solid 1px #ededed;
        min-height: 500px;
        position: relative;
		display: block;
	}
	

	.btn-success {
		color: #fff;
		background: linear-gradient(to bottom, #4aa28b, #147b6b);
		border-color: #000605;
		border: none;
	}
	
	.btn-success:hover { background-color: #2c6650; color: white; }

	/* Layout Wrapper - Flexbox for full height sidebar */
	.app-wrapper {
		display: flex;
		min-height: 100vh;
	}

	.sidebar-toggle-btn {
		right: 0px;
		top: 0px;
		z-index: 1;
		
	}
	
	/* --- Sidebar Styles --- */
	.sidebar {
		width: 280px;
		background-color: var(--sidebar-bg);
		padding: 30px 20px;
		display: flex;
		flex-direction: column;
		flex-shrink: 0;
	}

	.brand {
		font-size: 24px;
		font-weight: 700;
		margin-bottom: 40px;
		display: flex;
		align-items: center;
		gap: 10px;
		justify-content: center;	
	}

	.user-profile {
		text-align: center;
		margin-bottom: 30px;
	}

	.profile-img {
	    width: 120px;
		height: 120px;
		border-radius: 50%;
		border: 2px solid #c6c6c6;
		/* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
		margin-bottom: 15px;
		padding: 3px;
		
	}

	.user-name {
		font-size: 18px;
		font-weight: 600;
		margin: 0 0 5px;
	}

	.user-email {
		font-size: 12px;
		color: var(--text-muted);
		margin: 0;
	}

	.nav-menu {
		list-style: none;
		padding: 0;
		margin: 0;
		flex-grow: 1;
	}

	.nav-menu li {
		margin-bottom: 5px;
	}

	.nav-menu a {
		display: flex;
		align-items: center;
		padding: 12px 15px;
		color: var(--text-dark);
		text-decoration: none;
		font-weight: 500;
		border-radius: 10px;
		transition: all 0.3s ease;
		font-size: 1.8rem;
	}

	.nav-menu a i {
		width: 25px;
		font-size: 16px;
	}

	.nav-menu li.active a, .nav-menu a:hover {
		background-color: white;
		box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	}

	.text-teal { color: var(--primary-teal) !important; }

	.logout-section a {
		color: var(--text-dark);
		text-decoration: none;
		font-weight: 500;
		display: flex;
		align-items: center;
		gap: 10px;
	}
	
	.tab-content>.tab-pane {
		/*margin-top: 20px;*/
	}


	
    /* ===== Replicate missing BS5 spacing utilities ===== */
    .m-0  { margin: 0 !important; }
    .p-0  { padding: 0 !important; }
    .mb-1 { margin-bottom: 4px !important; }
    .mb-3 { margin-bottom: 16px !important; }
    .text-muted { color: #6c757d !important; } /* matches Bootstrap 5 “text-secondary” */

    /* ===== Section padding (replaces py-5 py-xl-8) ===== */
    .bsb-timeline-1 {
      
    }
    @media (min-width: 1200px) {
      .bsb-timeline-1 {
        
      }
    }

    /* ===== Vertical Timeline (left line + dots) ===== */
    .timeline {
      list-style: none;
      padding-left: 0;
      position: relative;
      margin-left: 15px; /* space for the line */
    }
    /* The vertical line */
    .timeline:before {
		content: '';
		position: absolute;
		left: -2px;
		top: 5px;
		bottom: 0;
		width: 3px;
		background: #59baaf;
    }
    .timeline-item {
      position: relative;
      padding-left: 30px;
      margin-bottom: 30px;
    }
    .timeline-item:last-child {
      margin-bottom: 0;
    }
    /* The dot */
    .timeline-item:before {
      content: '';
		position: absolute;
		left: -9px;
		top: 5px;
		width: 16px;
		height: 16px;
		border-radius: 50%;
		background: #1a5c50;
		border: 3px solid #fff;
		z-index: 1;
		box-shadow: 0 0 0 3px #4db6aa;
    }
    .timeline-body {
      padding: 0;
    }
    .timeline-content {
      background: #fff;
      border-radius: 4px;
    }
    /* Prevent wrapping issues on very small screens */
    .timeline-body .card-title {
      margin-top: 0;
      font-size: 20px;
      font-weight: 600;
    }
    .timeline-body .card-subtitle {
      font-size: 14px;
      font-weight: 500;
    }



































	/*

	.timeline-centered {
		position: relative;
		margin-bottom: 30px;
	}

    .timeline-centered:before, .timeline-centered:after {
        content: " ";
        display: table;
    }

    .timeline-centered:after {
        clear: both;
    }

    .timeline-centered:before, .timeline-centered:after {
        content: " ";
        display: table;
    }

    .timeline-centered:after {
        clear: both;
    }

    .timeline-centered:before {
        content: '';
        position: absolute;
        display: block;
        width: 4px;
        background: #f5f5f6;
        left: 50%;
        top: 20px;
        bottom: 20px;
        margin-left: -4px;
    }

    .timeline-centered .timeline-entry {
        position: relative;
        width: 70%;
        float: right;
        margin-bottom: 10px;
        clear: both;
    }

        .timeline-centered .timeline-entry:before, .timeline-centered .timeline-entry:after {
            content: " ";
            display: table;
        }

        .timeline-centered .timeline-entry:after {
            clear: both;
        }

        .timeline-centered .timeline-entry:before, .timeline-centered .timeline-entry:after {
            content: " ";
            display: table;
        }

        .timeline-centered .timeline-entry:after {
            clear: both;
        }

        .timeline-centered .timeline-entry.begin {
            margin-bottom: 0;
        }

        .timeline-centered .timeline-entry.left-aligned {
            float: left;
        }

            .timeline-centered .timeline-entry.left-aligned .timeline-entry-inner {
                margin-left: 0;
                margin-right: -18px;
            }

                .timeline-centered .timeline-entry.left-aligned .timeline-entry-inner .timeline-time {
                    left: auto;
                    right: -100px;
                    text-align: left;
					z-index: 1000;
                }

                .timeline-centered .timeline-entry.left-aligned .timeline-entry-inner .timeline-icon {
                    float: right;
                }

                .timeline-centered .timeline-entry.left-aligned .timeline-entry-inner .timeline-label {
                    margin-left: 0;
                    margin-right: 70px;
					border-radius: 10px;
                }

                    .timeline-centered .timeline-entry.left-aligned .timeline-entry-inner .timeline-label:after {
                        left: auto;
                        right: 0;
                        margin-left: 0;
                        margin-right: -9px;
                        -moz-transform: rotate(180deg);
                        -o-transform: rotate(180deg);
                        -webkit-transform: rotate(180deg);
                        -ms-transform: rotate(180deg);
                        transform: rotate(180deg);
                    }

        .timeline-centered .timeline-entry .timeline-entry-inner {
            position: relative;
            margin-left: -22px;
        }

            .timeline-centered .timeline-entry .timeline-entry-inner:before, .timeline-centered .timeline-entry .timeline-entry-inner:after {
                content: " ";
                display: table;
            }

            .timeline-centered .timeline-entry .timeline-entry-inner:after {
                clear: both;
            }

            .timeline-centered .timeline-entry .timeline-entry-inner:before, .timeline-centered .timeline-entry .timeline-entry-inner:after {
                content: " ";
                display: table;
            }

            .timeline-centered .timeline-entry .timeline-entry-inner:after {
                clear: both;
            }

            .timeline-centered .timeline-entry .timeline-entry-inner .timeline-time {
                position: absolute;
                left: -100px;
                text-align: right;
                padding: 10px;
                -webkit-box-sizing: border-box;
                -moz-box-sizing: border-box;
                box-sizing: border-box;
            }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-time > span {
                    display: block;
                }

                    .timeline-centered .timeline-entry .timeline-entry-inner .timeline-time > span:first-child {
                        font-size: 15px;
                        font-weight: bold;
                    }

                    .timeline-centered .timeline-entry .timeline-entry-inner .timeline-time > span:last-child {
                        
						color: #000000;
                    }

            .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon {
                background: #fff;
                color: #737881;
                display: block;
                width: 40px;
                height: 40px;
                -webkit-background-clip: padding-box;
                -moz-background-clip: padding;
                background-clip: padding-box;
                -webkit-border-radius: 20px;
                -moz-border-radius: 20px;
                border-radius: 20px;
                text-align: center;
                -moz-box-shadow: 0 0 0 5px #f5f5f6;
                -webkit-box-shadow: 0 0 0 5px #f5f5f6;
                box-shadow: 0 0 0 5px #f5f5f6;
                line-height: 40px;
                font-size: 15px;
                float: left;
            }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon.bg-primary {
                    background-color: #303641;
                    color: #fff;
                }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon.bg-secondary {
                    background-color: #ee4749;
                    color: #fff;
                }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon.bg-success {
                    
                    color: #fff;
                }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon.bg-info {
                    background-color: #21a9e1;
                    color: #fff;
                }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon.bg-warning {
                    background-color: #fad839;
                    color: #fff;
                }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon.bg-danger {
                    background-color: #cc2424;
                    color: #fff;
                }

            .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label {
                position: relative;
                background: #f5f5f6;
                padding: 1.7em;
                margin-left: 70px;
                -webkit-background-clip: padding-box;
                -moz-background-clip: padding;
                background-clip: padding-box;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                border-radius: 3px;
            }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label:after {
                    content: '';
                    display: block;
                    position: absolute;
                    width: 0;
                    height: 0;
                    border-style: solid;
                    border-width: 9px 9px 9px 0;
                    border-color: transparent #f5f5f6 transparent transparent;
                    left: 0;
                    top: 10px;
                    margin-left: -9px;
                }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label h2, .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label p {
                    color: #737881;
                    font-family: "Noto Sans",sans-serif;
                    font-size: 12px;
                    margin: 0;
                    line-height: 1.428571429;
                }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label p + p {
                        margin-top: 5px;
                }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label h2 {
                    font-size: 16px;
                    margin-bottom: 10px;
                }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label h2 a {
                    color: #303641;
                }

                .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label h2 span {
                    -webkit-opacity: .6;
                    -moz-opacity: .6;
                    opacity: .6;
                    -ms-filter: alpha(opacity=60);
                    filter: alpha(opacity=60);
                }
					
	*/				

	.progress {
		background: #eaeaea;
	}
	
	.well {
		background: aliceblue!important;
		border: none;
		box-shadow: none; 
		border-radius: 0px;
	}
	
	.btn-filter, .form-control {
		background-color: #ffffff;
		border: 1px solid #e2e8f0;
		color: #1f8371;
		font-weight: 500;
		padding: 8px 16px;
		border-radius: 8px;
		font-size: 13px;
		transition: all 0.2s;
	}

	.btn-filter:hover, .btn-filter:focus, .btn-filter:active, .form-control:hover, .form-control:focus, .form-control:hover {
		background-color: #f8fafc;
		border-color: #cbd5e1;
		color: #155d50;
		outline: none !important;
	}
	
	span.badge {
		background: #eefcf5;
		color: #1a5c50;
		font-weight: 500;
		border-radius: 4px;
		font-size: 11px;
		padding: 7px 10px;
	}

	.highlight {
	  background-color: #ffff99 !important; /* Yellow highlight */
	}
	.fade-out {
	  background-color: transparent;
	  transition: background-color 2s ease-out; /* Control speed here */
	}


	/* --- Main Content Styles --- */
	.main-content {
		flex-grow: 1;
		padding: 5px 20px;
		background-color: #ffffff; /* Assuming white background for main area behind panels based on image */
	}

	.page-header-custom {
		margin-bottom: 30px;
	}

	.page-header-custom h1 {
		font-size: 2.5rem;
		font-weight: 500;
		margin-bottom: 5px;
	}

	.welcome-text h2 {
		font-size: 22px;
		margin-top: 0;
		margin-bottom: 5px;
	}

	.welcome-text p {
		color: var(--text-muted);
		font-size: 14px;
	}

	/* Panel Overrides (Bootstrap 3 to Modern) */
	.custom-panel {
		border: 1px solid var(--border-color);
		border-radius: 12px;
		box-shadow: 0 4px 15px rgba(0,0,0,0.02);
		margin-bottom: 15px;
		background: #eefcf5;
	}

	.custom-panel .panel-heading {
		background-color: transparent;
		border-bottom: 1px solid var(--border-color);
		padding: 20px 25px;
		border-top-left-radius: 12px;
		border-top-right-radius: 12px;
	}

	.custom-panel .panel-title {
		font-size: 18px;
		font-weight: 600;
		color: var(--text-dark);
	}

	.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
		z-index: 3;
		color: #fff;
		cursor: default;
		background-color: #127a6a;
		border-color: #127a6a;
	}

	.section-title {
		font-size: 18px;
		font-weight: 600;
		margin-bottom: 15px;
		margin-top: 0;
	}

	/* --- Trip Summary Component --- */
	.summary-panel .panel-body { padding: 15px 0; }
	.stat-block {
		padding: 15px 40px;
	}
	
	.border-right {
		border-right: 1px solid #abd8c1;
	}
	.border-left {
		border-left: 1px solid #abd8c1;
	}
	.stat-title {
		font-size: 14px;
		font-weight: 500;
		margin-top: 0;
		margin-bottom: 15px;
	}
	.stat-content {
		display: flex;
		justify-content: space-between;
		align-items: stretch;
		gap: 5px;
		line-height: 14px;
	}
	.stat-number {
		font-size: 42px;
		font-weight: 700;
		line-height: 1;
		display: inline-block;
		margin-right: 5px;
		float: left; 
	}
	
	.stat-subtext {
		font-size: 12px;
		color: var(--text-muted);
	}
	.stat-subtext-bottom {
		font-size: 12px;
		color: var(--text-muted);
		margin-top: 5px;
	}

	/* Mock Graphics */
	.mock-sparkline { width: 80px; height: 30px; }
	.stat-icon-large i { font-size: 50px; color: var(--primary-teal); }

	/* CSS Donut Chart Approximation */
	.css-donut {
		width: 60px;
		height: 60px;
		border-radius: 50%;
		/* Using conic-gradient to draw the ring */
		background: conic-gradient(var(--primary-teal) calc(var(--percent) * 1%), #e0e0e0 0);
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.inner-circle {
		width: 48px;
		height: 48px;
		background-color: white;
		border-radius: 50%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.donut-label { font-size: 7px; color: var(--text-muted); text-transform: uppercase;}
	.donut-val { font-size: 14px; font-weight: 600;}

	/* --- Next Trip Component --- */
	.next-trip-panel { overflow: hidden; padding: 0; }
	.no-margin { margin: 0; }
	.no-padding { padding: 0; }
	.h-100 { height: 100%; min-height: 280px; } /* Force height for flex child */

	.trip-img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}

	.trip-details { padding: 30px; }
	.trip-title { font-size: 24px; font-weight: 600; margin-top: 0; margin-bottom: 5px; }
	.trip-dates { color: var(--text-muted); font-size: 14px; margin-bottom: 25px; }
	.trip-meta p { font-size: 13px; margin-bottom: 10px; color: var(--text-dark);}
	/*.trip-meta i { width: 20px; text-align: center;}*/
	.font-weight-bold { font-weight: 600; }

	.custom-progress {
		height: 8px;
		border-radius: 10px;
		box-shadow: none;
		background-color: var(--primary-teal-light);
		margin-top: 15px;
		margin-bottom: 20px;
	}
	.progress-bar-teal { background-color: var(--primary-teal); border-radius: 10px;}

	.btn-custom-teal {
		background-color: var(--primary-teal);
		color: white;
		border-radius: 8px;
		padding: 10px 20px;
		font-weight: 500;
		border: none;
		transition: opacity 0.2s;
	}
	.btn-custom-teal:hover { color: white; opacity: 0.9; }
	.mt-20 { margin-top: 20px; }

	.pagination-dots {
		margin-top: 10px;
	}
	.page-nav {
		display: inline-block;
		background: #444;
		color: white;
		padding: 5px 15px;
		border-radius: 20px;
		font-size: 12px;
	}

	/* --- Right Sidebar Components --- */
	.no-padding-top { padding-top: 0 !important; }

	/* Activity List */
	.activity-list { list-style: none; padding: 0; margin: 0; }
	.activity-list li {
		display: flex;
		padding: 15px 0;
		border-bottom: 1px solid var(--border-color);
	}
	.activity-list li:last-child { border-bottom: none; }

	.activity-icon-bg {
		width: 35px;
		height: 35px;
		background-color: var(--primary-teal-light);
		color: var(--primary-teal);
		border-radius: 8px;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-right: 15px;
		flex-shrink: 0;
	}
	.activity-info p { font-size: 13px; line-height: 1.4; color: var(--text-dark); }
	.activity-info strong { font-weight: 600; }
	.activity-info .time { font-size: 11px; color: var(--text-muted); }
	.mb-0 { margin-bottom: 0; }

	/* Calendar Widget */
	.toggle-switch {
		display: flex;
		background-color: #f0f0f0;
		border-radius: 20px;
		padding: 4px;
	}
	.toggle-btn {
		flex: 1;
		text-align: center;
		padding: 8px 15px;
		font-size: 12px;
		font-weight: 500;
		border-radius: 16px;
		cursor: pointer;
		color: var(--text-muted);
	}
	.toggle-btn.active {
		background-color: white;
		color: var(--text-dark);
		box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	}
	.mb-15 { margin-bottom: 15px; }

	.calendar-header { margin-bottom: 15px; font-weight: 600; font-size: 14px;}
	.calendar-grid {
		display: grid;
		grid-template-columns: repeat(7, 1fr);
		text-align: center;
		gap: 10px 0;
	}
	.day-name { font-size: 10px; color: var(--text-muted); text-transform: uppercase; }
	.date { font-size: 13px; }
	.muted { color: #ccc; }
	.text-decoration-line-through { text-decoration: line-through; }