/* Global toggle button */
.travel-list-toggle-btn {

}
.travel-list-toggle-btn .list-count {
    background: #FF5722;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-left: 8px;
}

/* Save button in posts */
.btn-save {
    background:transparent;
	color:#777;
    border:1px solid #eaeaea;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
	white-space:nowrap;
}
.btn-save:before{
	font-family: 'Font Awesome 6 Free';
    content: '\f004';
    font-size: .9rem;
	margin-right:5px;
	display: inline-flex;
	color:rgb(255, 50, 86);
}
.btn-save.added {
    background:none;
	color:#777;
	font-weight:normal;
    cursor: pointer;
	padding:0;
	border:none;
}
.btn-save.added:hover{
	text-decoration:underline;
}
.btn-save.added:before{
	content: '\f00c';
	background: green;
	color: white;
	border-radius: 100%;
	width: 25px;
	height: 25px;
	text-align: center;
	line-height: 1;
	align-items: center;
	justify-content: center;
}

/* Travel list drawer (fix flash issue with initial state) */
.travel-list-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 523px;
	max-width:85vw;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transform: translateX(100%); 
    transition: transform 0.3s ease, opacity 0.3s ease; /* Add opacity transition */
    z-index: 10000; /* Higher z-index to ensure visibility */
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
}
.travel-list-drawer.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* Drawer header */
.travel-list-drawer-header {
    padding: 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.travel-list-drawer-header h3 {
    margin: 0;
}
.clear-all {
    color: #FF5722;
	background:transparent;
    border:1px solid #FF5722;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}
.clear-all:hover{
	background: #FF5722;
	color:#fff;
}

/* Drawer content + spinner */
.travel-list-drawer-content {
    padding: 16px;
    min-height: calc(100vh - 70px);
}
.empty-list {
    text-align: center;
    color: #999;
    padding: 20px 0;
}
/* Travel list item (align title with image) */
.travel-list-item {
   display: flex;
	gap: 12px;
	padding: 10px;
	border: 1px solid #eaeaea;
	border-radius: 8px;
	align-items:center;
}
.travel-list-item:not(:last-child){
	margin-bottom:10px;
}
.travel-list-item:hover{
	background-color:#f7f7f7;
}
.item-thumb {
    width: 88px;
    height: 88px;
	object-fit: cover;
	border-radius: 8px;
    flex-shrink: 0;
}
.item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.item-title {
    color: #333;
	text-decoration: none;
	font-weight: 500;
	margin: 0;
	line-height: 1.2;
	font-size:.9rem;
}
/* Replace X button with "Remove" text link */
.remove-item {
    color: #8e8e8e;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}
.remove-item:hover {
    text-decoration: underline;
}