/* ===============================
   ADMIN OVERLAY (SAFE VERSION)
   =============================== */

.admin-overlay-root {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    pointer-events: none; /* default mati */
}

/* Toggle button */
.admin-overlay-root .admin-toggle {
    pointer-events: auto;
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 10px 14px;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 100000;
}

/* Sidebar */
.admin-overlay-root .admin-sidebar {
    pointer-events: auto;
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;
    background: #111827;
    color: #fff;
    padding: 20px;
    transition: left 0.25s ease;
    z-index: 100001;
}

/* Active */
.admin-overlay-root .admin-sidebar.active {
    left: 0;
}

/* Header */
.admin-overlay-root .admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-overlay-root .admin-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

/* Menu */
.admin-overlay-root .admin-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-overlay-root .admin-menu li {
    margin-bottom: 14px;
}

.admin-overlay-root .admin-menu a {
    color: #e5e7eb;
    text-decoration: none;
    padding: 8px 10px;
    display: block;
    border-radius: 6px;
}

.admin-overlay-root .admin-menu a:hover {
    background: #1f2937;
}

/* Default: tidak kelihatan */
.editable {
    outline: none;
}

/* Saat edit mode aktif */
.editable {
    position: relative;
    outline: 1px dashed rgba(59,130,246,0.8);
    cursor: text;
}

/* Hover efek */
.editable:hover {
    outline: 2px dashed #3b82f6;
    background: rgba(59,130,246,0.05);
}

/* Fokus (sedang diedit) */
.editable:focus {
    outline: 2px solid #2563eb;
    background: rgba(37,99,235,0.08);
}

.trip-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    margin: 40px 0;
}

/* FILTER */
.trip-filter {
    background: #fff;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.trip-filter h4 {
    font-size: 16px;
    margin-bottom: 14px;
}

/* TOP BAR */
.trip-topbar {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.trip-topbar input,
.trip-topbar select {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.trip-topbar input {
    flex: 1;
}

/* RESULT */
.trip-result {
    min-height: 200px;
}

/* CARD */
.trip-content {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    gap: 20px;
}

.trip-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    overflow: hidden;
}

.trip-body {
    padding: 14px;
}

.trip-title {
    font-weight: 700;
}

.trip-price {
    font-weight: 800;
    margin-top: 6px;
}

.trip-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #111;
    text-decoration: none;
    display: inline-block;
    transition: all .25s ease;
}

.trip-title:hover {
    color: #f15d30; /* accent travel */
    text-decoration: none;
}

.trip-title::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #f15d30;
    transition: width .25s ease;
    margin-top: 4px;
}

.trip-title:hover::after {
    width: 100%;
}


/* MOBILE */
@media(max-width:768px){
    .trip-layout{
        grid-template-columns: 1fr;
    }
}