/* WP Itinerary Pro Builder Styles */
:root {
    --wpip-font-family: var(--theme-font-family, inherit);
    --wpip-text: var(--theme-text-color, #111827);
    --wpip-heading: var(--theme-heading-color, var(--wpip-text));
    --wpip-muted: var(--theme-palette-color-3, #6b7280);
    --wpip-accent: var(--theme-palette-color-1, #01735c);
    --wpip-accent-hover: var(--theme-palette-color-2, #015f4d);
    --wpip-surface: var(--theme-palette-color-8, #fff);
    --wpip-background: var(--theme-palette-color-7, #f9fafb);
    --wpip-soft-accent: rgba(1, 115, 92, 0.10);
    --wpip-border: var(--theme-border-color, #e5e7eb);
    --wpip-container-width: var(--theme-container-width, var(--theme-normal-container-max-width, 1280px));
    --wpip-radius: 8px;
}

@supports (background: color-mix(in srgb, red 10%, transparent)) {
    :root {
        --wpip-soft-accent: color-mix(in srgb, var(--wpip-accent) 10%, transparent);
    }
}

/* Alpine.js x-cloak - hide until initialized */
[x-cloak] {
    display: none !important;
}

.wpip-builder-container {
    max-width: var(--wpip-container-width);
    margin: 0 auto;
    padding: 20px 20px 92px;
    font-family: var(--wpip-font-family);
    color: var(--wpip-text);
}

.wpip-builder-container *,
.wpip-builder-container input,
.wpip-builder-container button,
.wpip-builder-container select,
.wpip-builder-container textarea {
    font-family: var(--wpip-font-family);
}

.wpip-builder-suspended {
    max-width: 760px;
    margin: 80px auto;
    padding: 20px;
    font-family: var(--wpip-font-family);
    color: var(--wpip-text);
}

.wpip-builder-suspended-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 28px;
    border: 1px solid var(--wpip-border);
    border-radius: var(--wpip-radius);
    background: var(--wpip-surface);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.wpip-builder-suspended-box i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--wpip-soft-accent);
    color: var(--wpip-accent);
    font-size: 22px;
}

.wpip-builder-suspended-box h1 {
    margin: 0;
    color: var(--wpip-heading);
    font-size: 26px;
    line-height: 1.2;
}

.wpip-builder-suspended-box p {
    margin: 0;
    color: var(--wpip-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Loading Overlay */
.wpip-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9000;
}

.wpip-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--wpip-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wpip-builder-skeleton {
    display: block;
}

.wpip-skeleton-line,
.wpip-skeleton-panel,
.wpip-skeleton-tab,
.wpip-skeleton-card,
.wpip-skeleton-route-row,
.wpip-skeleton-destination-card,
.wpip-skeleton-image,
.wpip-skeleton-map,
.wpip-skeleton-summary div {
    position: relative;
    overflow: hidden;
    background: #eef1f5;
}

.wpip-skeleton-line::after,
.wpip-skeleton-panel::after,
.wpip-skeleton-tab::after,
.wpip-skeleton-card::after,
.wpip-skeleton-route-row::after,
.wpip-skeleton-destination-card::after,
.wpip-skeleton-image::after,
.wpip-skeleton-map::after,
.wpip-skeleton-summary div::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.72), transparent);
    animation: wpip-skeleton-shimmer 1.35s infinite;
}

@keyframes wpip-skeleton-shimmer {
    100% { transform: translateX(100%); }
}

.wpip-skeleton-heading {
    width: 260px;
    height: 34px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.wpip-skeleton-header-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.wpip-skeleton-panel {
    height: 96px;
    border-right: 1px solid #e5e7eb;
}

.wpip-skeleton-panel:last-child {
    border-right: 0;
}

.wpip-skeleton-tabs {
    display: flex;
    gap: 8px;
    overflow: hidden;
}

.wpip-skeleton-tab {
    width: 118px;
    height: 58px;
    border-radius: 8px;
    flex: 0 0 auto;
}

.wpip-skeleton-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.wpip-skeleton-day-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 82px;
    padding: 18px;
}

.wpip-skeleton-route-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: auto;
    min-height: 44px;
    border-radius: 0;
    margin-left: 22px;
}

.wpip-skeleton-route-line {
    width: 1.5px;
    height: 36px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.wpip-skeleton-route-text {
    width: 92px;
}

.wpip-skeleton-point-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 128px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.wpip-skeleton-point-row,
.wpip-skeleton-dest-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
}

.wpip-skeleton-time {
    width: 48px;
}

.wpip-skeleton-label {
    width: 140px;
}

.wpip-skeleton-actions {
    display: inline-flex;
    gap: 8px;
    justify-content: flex-end;
}

.wpip-skeleton-actions span {
    position: relative;
    overflow: hidden;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #eef1f5;
}

.wpip-skeleton-actions span::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.72), transparent);
    animation: wpip-skeleton-shimmer 1.35s infinite;
}

.wpip-skeleton-destination-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 230px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.wpip-skeleton-dest-body {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
}

.wpip-skeleton-image {
    width: 120px;
    height: 120px;
    border-radius: 6px;
}

.wpip-skeleton-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.wpip-skeleton-line {
    height: 14px;
    border-radius: 999px;
}

.wpip-skeleton-wide { width: 84%; }
.wpip-skeleton-medium { width: 62%; }
.wpip-skeleton-short { width: 36%; }

.wpip-skeleton-custom-block {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 42px;
    border-radius: 6px;
    background: #e0f2fe;
}

.wpip-skeleton-custom-block::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.72), transparent);
    animation: wpip-skeleton-shimmer 1.35s infinite;
}

.wpip-skeleton-summary {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.wpip-skeleton-summary div {
    width: 92px;
    height: 28px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.wpip-skeleton-map {
    height: 500px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* Sections */
.wpip-section {
    margin-bottom: 20px;
}

.wpip-container {
    max-width: var(--wpip-container-width);
    margin: 0 auto;
}

/* Header Section */
.wpip-header-section {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.wpip-builder-heading {
    margin-bottom: 26px;
}

.wpip-builder-heading h1 {
    margin: 0;
    color: #111827;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
}

.wpip-builder-heading p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
}

.wpip-date-range-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.wpip-header-summary {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.wpip-header-summary-desktop {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
}

.wpip-header-cell {
    min-height: 96px;
    padding: 22px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    position: relative;
    cursor: pointer;
}

.wpip-header-cell + .wpip-header-cell {
    border-left: 1px solid #e5e7eb;
}

.wpip-header-cell span {
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
}

.wpip-header-cell strong {
    color: #111827;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
}

.wpip-header-label-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.wpip-header-label-with-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1em;
    height: 1em;
    color: currentColor;
    font-size: 14px;
    line-height: 1;
}

.wpip-header-budget {
    cursor: default;
}

.wpip-header-inline-input {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #d1d5db;
    padding: 0 0 4px;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    background: transparent;
}

.wpip-header-inline-input:focus {
    outline: none;
    border-color: var(--wpip-accent);
}

.wpip-header-number-input {
    max-width: 100px;
}

.wpip-header-summary-mobile,
.wpip-mobile-header-editor {
    display: none;
}

/* Inputs */
.wpip-input {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.wpip-input:focus {
    outline: none;
    border-color: var(--wpip-accent);
    box-shadow: 0 0 0 3px var(--wpip-soft-accent);
}

.wpip-small-input {
    padding: 6px 8px;
    font-size: 13px;
}

.wpip-textarea {
    min-height: 60px;
    resize: vertical;
    width: 100%;
}

/* Days Section */
.wpip-days-section {
    background: #f9fafb;
    padding: 10px;
    border-radius: 8px;
    position: sticky;
    top: 0;
    z-index: 1200;
    /*box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);*/
}

.wpip-days-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 0;
}

.wpip-day-tab {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 120px;
    font-size: 13px;
    line-height: 1;
}

.wpip-day-tab:hover {
    border-color: var(--wpip-accent);
}

.wpip-tab-active {
    background: var(--wpip-accent);
    color: #fff;
    border-color: var(--wpip-accent);
}

.wpip-day-tab small {
    font-size: 12px;
    opacity: 0.8;
}

.wpip-add-day-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    border: 1px dashed #00000052;
    font-size: 13px;
    white-space: nowrap;
}

.wpip-add-day-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wpip-total-budget-summary {
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

/* Builder Grid */
.wpip-builder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 1024px) {
    .wpip-builder-grid {
        grid-template-columns: 1fr;
    }
}

/* Day Header */
.wpip-day-header {
    background: #fbfbfc;
    border-radius: 0;
    margin-bottom: 20px;
    display: block;
}

.wpip-day-header-main {
    min-width: 0;
}

.wpip-day-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    color: rgba(16, 20, 23, 0.9);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 400;
}

.wpip-day-header h3 {
    margin: 14px 0 0;
    color: #000;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.wpip-day-city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.wpip-day-city-tag {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
    padding: 3px 7px;
    border: 1px solid var(--wpip-border, #e5e7eb);
    border-radius: 4px;
    background: var(--wpip-surface, #fff);
    color: var(--wpip-muted, #6b7280);
    font-size: 12px;
    line-height: 1.3;
}

.wpip-day-city-tag i {
    flex: 0 0 auto;
    font-size: 13px;
    line-height: 1;
    margin-top: 1px;
}

.wpip-day-builder-stack {
    display: flex;
    flex-direction: column;
}

.wpip-day-builder-stack .wpip-day-header {
    order: 1;
}

.wpip-day-builder-stack .wpip-starting-point-section {
    order: 2;
}

.wpip-day-builder-stack > .wpip-nearby-recommendations {
    order: 3;
}

.wpip-day-builder-stack .wpip-destinations-list {
    order: 4;
}

.wpip-day-builder-stack .wpip-search-bottom {
    order: 5;
}

.wpip-day-builder-stack .wpip-ending-route-summary {
    order: 6;
}

.wpip-day-builder-stack .wpip-hint-box {
    order: 7;
}

.wpip-day-builder-stack .wpip-day-summary {
    order: 8;
}

.wpip-day-builder-stack .wpip-actions-section {
    order: 9;
}

.wpip-day-time-button {
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0;
    font: inherit;
    cursor: pointer;
}

.wpip-day-time-input {
    width: 82px;
    border: 0;
    border-bottom: 1px solid #9ca3af;
    background: transparent;
    color: #374151;
    font-size: 14px;
}

.wpip-day-time-input:focus {
    outline: none;
    border-color: var(--wpip-accent);
}

.wpip-shortest-route-btn {
    border: 0;
    background: transparent;
    color: #000;
    margin-left: auto;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 400;
    cursor: pointer;
    white-space: nowrap;
}

.wpip-shortest-route-btn i {
    font-size: 18px;
}

/* Search */
.wpip-search-container {
    margin-bottom: 20px;
    position: relative;
}

.wpip-add-destination-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wpip-search-bar {
    display: flex;
    gap: 10px;
}

.wpip-search-wrapper-closable {
    position: relative;
    padding-top: 28px;
}

.wpip-destination-search-wrapper {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 0;
}

.wpip-search-close-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 6px;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.wpip-search-close-btn:hover {
    background: #fee2e2;
    color: #dc2626;
}

.wpip-destination-search-wrapper .wpip-search-close-btn {
    position: static;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
}

.wpip-destination-search-bar {
    flex: 1;
    gap: 0;
    align-items: center;
    min-width: 0;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.wpip-destination-search-bar .wpip-search-input {
    border: 0;
    min-width: 0;
    height: 40px;
    box-shadow: none;
}

.wpip-destination-search-bar .wpip-search-input:focus {
    outline: none;
    box-shadow: none;
}

.wpip-search-submit-btn {
    width: 42px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #01735c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    flex: 0 0 42px;
}

.wpip-search-submit-btn:disabled {
    color: #6b7280;
    cursor: not-allowed;
}

.wpip-search-submit-btn:not(:disabled):hover {
    background: #f0fdf4;
}

.wpip-destination-search-wrapper .wpip-search-results {
    top: 48px;
}

.wpip-destination-search-wrapper .wpip-no-results,
.wpip-destination-search-wrapper .wpip-search-info {
    flex: 0 0 100%;
}

.wpip-compact-search-wrapper {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
}

.wpip-compact-search-wrapper .wpip-search-close-btn {
    position: static;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
}

.wpip-compact-search-bar {
    flex: 1;
    gap: 0;
    align-items: center;
    min-width: 0;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.wpip-compact-search-bar .wpip-search-input {
    border: 0;
    min-width: 0;
    height: 40px;
    box-shadow: none;
}

.wpip-compact-search-bar .wpip-search-input:focus {
    outline: none;
    box-shadow: none;
}

.wpip-compact-search-wrapper .wpip-search-results,
.wpip-compact-search-wrapper .wpip-edit-search-results {
    flex: 0 0 100%;
}

.wpip-compact-search-wrapper .wpip-no-results,
.wpip-compact-search-wrapper .wpip-search-info {
    flex: 0 0 100%;
}

.wpip-search-input {
    flex: 1;
}

.wpip-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.wpip-search-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 12px;
    background: var(--wpip-soft-accent);
    color: var(--wpip-accent);
    border: 1px solid #d7e9e4;
    border: 1px solid color-mix(in srgb, var(--wpip-accent) 24%, #fff);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.wpip-search-loading i {
    font-size: 16px;
}

.wpip-search-result-item {
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

.wpip-search-result-item:hover {
    background: #f9fafb;
}

.wpip-result-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.wpip-result-info {
    flex: 1;
}

.wpip-result-info strong {
    display: block;
    margin-bottom: 4px;
}

.wpip-result-info small {
    color: #6b7280;
    font-size: 12px;
}

/* Destinations List */
.wpip-destinations-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.wpip-destination-wrapper {
    position: relative;
}

.wpip-distance-line {
    display: flex;
    align-items: center;
    padding: 0;
    margin-left: 30px;
}

.wpip-line {
    position: relative;
    width: 1.5px;
    height: 44px;
    background: linear-gradient(
        to bottom,
        transparent 0 12px,
        var(--wpip-accent) 12px calc(100% - 12px),
        transparent calc(100% - 12px) 100%
    );
    border-radius: 999px;
}

.wpip-line::before,
.wpip-line::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 9px;
    height: 9px;
    border: 2px solid var(--wpip-accent);
    border-radius: 999px;
    background:
        radial-gradient(circle, var(--wpip-accent) 0 2px, #fff 2.5px);
    transform: translateX(-50%);
}

.wpip-line::before {
    top: -6px;
}

.wpip-line::after {
    bottom: -6px;
}

.wpip-distance-info {
    margin-left: 15px;
    display: flex;
    flex-direction: row;
    gap: 16px;
    font-size: 12px;
    color: #6b7280;
}

.wpip-destination-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: move;
}

.wpip-destination-card:hover {
    border-color: #c9ddd7;
    border-color: color-mix(in srgb, var(--wpip-accent) 42%, #e5e7eb);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.wpip-card-header {
    padding: 12px 16px;
    background: #f9fafb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.wpip-arrival-time {
    font-weight: 600;
    color: var(--wpip-accent);
    font-size: 16px;
}

.wpip-card-actions {
    display: flex;
    gap: 8px;
}

.wpip-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.wpip-card-body {
    padding: 16px;
}

.wpip-card-body h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.wpip-ticket-price {
    margin: 0 0 4px 0;
    color: #047857;
    font-weight: 600;
}

.wpip-open-hours {
    margin: 0 0 16px 0;
    color: #6b7280;
    font-size: 14px;
}

.wpip-custom-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.wpip-custom-fields label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #6b7280;
}

.wpip-custom-fields small {
    text-align: right;
    color: #6b7280;
}

/* Nearby Recommendations */
.wpip-nearby-recommendations {
    padding: 16px;
    background: #f0fdf4;
    border-radius: 8px;
    margin-top: 10px;
}

.wpip-nearby-recommendations p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 10px 0;
    font-weight: 700;
    color: #065f46;
}

.wpip-nearby-recommendations p small {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

.wpip-nearby-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.wpip-nearby-loading span {
    display: inline-flex;
    width: 132px;
    height: 34px;
    border-radius: 6px;
    background: linear-gradient(90deg, #ffffff 0%, #e5f6ef 48%, #ffffff 100%);
    background-size: 220% 100%;
    animation: wpip-nearby-shimmer 1.1s ease-in-out infinite;
}

@keyframes wpip-nearby-shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.wpip-nearby-item {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    transition: all 0.2s;
}

.wpip-nearby-item:hover {
    border-color: #10b981;
    background: #ecfdf5;
}

/* Day Summary */
.wpip-day-summary {
    margin-top: 20px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpip-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.wpip-summary-item:last-child {
    border-bottom: none;
}

/* Map */
.wpip-builder-right {
    position: sticky;
    top: 20px;
    height: fit-content;
    z-index: 1;
}

.wpip-map-frame {
    position: relative;
    z-index: 1;
}

.wpip-map {
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wpip-map .leaflet-tile {
    filter: saturate(0.58) brightness(1.12) contrast(0.96);
}

.wpip-map-summary {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wpip-summary-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.wpip-summary-stat i {
    color: var(--wpip-accent);
    font-size: 16px;
}

.wpip-btn.wpip-map-drive-btn {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 500;
    transform: none;
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 128px;
    min-height: 44px;
    padding: 6px 8px 6px 16px;
    border: 2px solid #fff;
    border-radius: 8px;
    background: #01735C !important;
    color: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.24);
    white-space: nowrap;
}

.wpip-btn.wpip-map-drive-btn:hover {
    background: #016b56 !important;
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.28);
}

.wpip-btn.wpip-map-drive-btn .wpip-drive-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #fff;
    color: #01735C;
}

.wpip-btn.wpip-map-drive-btn .wpip-drive-icon i {
    font-size: 20px;
    line-height: 1;
}

.wpip-btn.wpip-map-drive-btn > span:last-child {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* Buttons */
.wpip-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    font-size: 14px;
}

.wpip-btn:focus-visible,
.wpip-search-submit-btn:focus-visible,
.wpip-search-close-btn:focus-visible,
.wpip-link-button:focus-visible,
.wpip-shortest-route-btn:focus-visible,
.wpip-ending-point-trigger:focus-visible,
.wpip-my-location-btn:focus-visible,
.wpip-actions-dropdown button:focus-visible,
.wpip-publish-option:focus-visible,
.wpip-day-tab:focus-visible {
    outline: 2px solid var(--wpip-accent);
    outline-offset: 3px;
}

.wpip-btn-primary {
    background: var(--wpip-accent);
    color: #fff;
}

.wpip-btn-primary:hover {
    background: var(--wpip-accent-hover);
}

.wpip-btn-secondary {
    background: #6b7280;
    color: #fff;
}

.wpip-btn-secondary:hover {
    background: #4b5563;
}

.wpip-btn-success {
    background: #047857;
    color: #fff;
}

.wpip-btn-success:hover {
    background: #065f46;
}

.wpip-btn-warning {
    background: #b45309;
    color: #fff;
}

.wpip-btn-warning:hover {
    background: #92400e;
}

.wpip-btn-danger {
    background: #ef4444;
    color: #fff;
}

.wpip-btn-danger:hover {
    background: #dc2626;
}

.wpip-btn-icon {
    padding: 8px;
    background: transparent;
    color: #6b7280;
}

.wpip-btn-icon:hover {
    background: #f3f4f6;
    color: var(--wpip-accent);
}

.wpip-btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 15px;
}

/* Actions Section */
.wpip-actions-section {
    background: transparent;
    padding: 0;
    margin-top: 20px;
    border-radius: 0;
    box-shadow: none;
    position: static;
    z-index: 90;
    pointer-events: auto;
}

.wpip-actions-bar {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    pointer-events: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

.wpip-action-primary {
    min-width: 128px;
}

.wpip-action-secondary {
    min-width: 104px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
}

.wpip-action-secondary:hover {
    border-color: #9ca3af;
    background: #f9fafb;
    color: #111827;
}

.wpip-actions-menu {
    position: relative;
}

.wpip-actions-menu-trigger {
    justify-content: center;
}

.wpip-actions-dropdown {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 1000;
    min-width: 218px;
    padding: 6px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

.wpip-actions-dropdown button {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 9px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    text-align: left;
}

.wpip-actions-dropdown button:hover {
    background: #f3f4f6;
    color: #111827;
}

.wpip-actions-dropdown i {
    color: #6b7280;
    font-size: 17px;
}

/* Modal */
.wpip-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.wpip-modal {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.wpip-publish-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.45);
}

.wpip-publish-modal {
    position: relative;
    width: min(440px, 100%);
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

.wpip-publish-modal h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
}

.wpip-publish-modal p {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.45;
}

.wpip-publish-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    cursor: pointer;
}

.wpip-publish-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.wpip-publish-option {
    min-height: 38px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 8px 12px;
    background: #fff;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.wpip-publish-option i {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
}

.wpip-publish-option > span {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
}

.wpip-publish-option small {
    display: block;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 500;
}

.wpip-image-template-option {
    width: 100%;
    align-items: stretch;
    gap: 14px;
    padding: 12px;
}

.wpip-template-preview {
    position: relative;
    display: block;
    flex: 0 0 104px;
    width: 104px;
    height: 130px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f7eadf;
}

.wpip-template-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.wpip-template-copy {
    min-width: 0;
    justify-content: center;
}

.wpip-publish-option-active {
    border-color: #01735c;
    color: #01735c;
    background: #ecfdf5;
}

.wpip-publish-option-active i {
    background: #01735c;
    color: #fff;
}

.wpip-publish-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.wpip-toast {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 10050;
    max-width: min(360px, calc(100vw - 40px));
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--wpip-border);
    border-radius: 8px;
    background: var(--wpip-surface);
    color: var(--wpip-text);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.wpip-toast i {
    font-size: 18px;
    line-height: 1;
}

.wpip-toast-success {
    border-color: rgba(1, 115, 92, 0.22);
}

.wpip-toast-success i {
    color: var(--wpip-accent);
}

.wpip-toast-error {
    border-color: rgba(220, 38, 38, 0.22);
}

.wpip-toast-error i {
    color: #dc2626;
}

.wpip-toast-warning i {
    color: #d97706;
}

.wpip-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 10040;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.42);
}

.wpip-confirm-modal {
    width: min(390px, 100%);
    padding: 20px;
    border-radius: 8px;
    background: var(--wpip-surface);
    color: var(--wpip-text);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

.wpip-confirm-modal h3 {
    margin: 0 0 8px;
    color: var(--wpip-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.wpip-confirm-modal p {
    margin: 0 0 18px;
    color: var(--wpip-muted);
    font-size: 14px;
    line-height: 1.45;
}

.wpip-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.wpip-modal h3 {
    margin: 0 0 20px 0;
}

/* Remove Day Button */
.wpip-day-tab-wrapper {
    position: relative;
    display: inline-block;
}

.wpip-remove-day-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 10;
    transition: all 0.2s;
}

.wpip-remove-day-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Custom Marker */
.wpip-custom-marker {
    background: transparent;
    border: 0;
}

.wpip-marker-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
}

.wpip-marker-content::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    z-index: 2;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ff6310;
    transform: translateX(-50%);
}

.wpip-marker-content i {
    position: relative;
    z-index: 1;
    color: #ff6310;
    font-size: 40px;
    line-height: 1;
    text-shadow:
        0 0 0 #fff,
        1px 0 0 #fff,
        -1px 0 0 #fff,
        0 1px 0 #fff,
        0 -1px 0 #fff,
        0 6px 12px rgba(15, 23, 42, 0.24);
}

.wpip-marker-content span,
.wpip-marker-number {
    position: absolute;
    top: 10px;
    left: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    transform: translateX(-50%);
}

.wpip-start-marker .wpip-marker-content i {
    color: #01735C;
}

.wpip-start-marker .wpip-marker-content::before {
    background: #01735C;
}

.wpip-end-marker .wpip-marker-content i {
    color: #101417e6;
}

.wpip-end-marker .wpip-marker-content::before {
    background: #101417e6;
}

/* Collapsible Custom Fields */
.wpip-custom-fields-toggle {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.wpip-toggle-btn {
    width: 100%;
    padding: 10px;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    transition: all 0.2s;
}

.wpip-toggle-btn:hover {
    background: #f3f4f6;
    border-color: var(--wpip-accent);
    color: var(--wpip-accent);
}

.wpip-custom-fields {
    margin-top: 12px;
}

/* Search Bottom Position */
.wpip-search-bottom {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Ticket Info */
.wpip-ticket-info {
    margin: 8px 0;
}

.wpip-ticket-price {
    margin: 0;
    color: #047857;
    font-weight: 600;
    font-size: 16px;
}

.wpip-ticket-price.wpip-free {
    color: #6b7280;
}

/* ============================================
   STARTING POINT - SIMPLIFIED FLOW
   ============================================ */

/* Starting Point Section */
.wpip-starting-point-section {
    background: var(--wpip-soft-accent);
    border: 1px solid #d7e9e4;
    border: 1px solid color-mix(in srgb, var(--wpip-accent) 22%, #fff);
    border-radius: 8px;
    padding: 16px;
}

.wpip-starting-point-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.wpip-starting-point-header h4 {
    margin: 0;
    color: var(--wpip-heading);
    font-size: 16px;
    min-width: 0;
    flex: 1;
}

.wpip-point-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.wpip-point-header-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1;
}

.wpip-point-header-label {
    display: flex;
    align-items: center;
    min-width: 0;
}

.wpip-point-header-label {
    gap: 6px;
    color: var(--wpip-accent);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.wpip-card-marker-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 0 3px #c2c2c2;
}

.wpip-card-marker-start {
    background: #01735C;
}

.wpip-card-marker-destination {
    background: #ff6310;
}

.wpip-card-marker-end {
    background: rgba(16, 20, 23, 0.90);
}

.wpip-point-header-time {
    flex: 0 0 auto;
    color: #1f2937;
    font-size: 13px;
    font-weight: 400;
}

.wpip-point-header-title {
    display: block;
    overflow-wrap: anywhere;
    white-space: normal;
    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    width: 100%;
}

.wpip-point-header-actions {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 4px;
    margin-left: auto;
    flex: 0 0 auto;
}

/* Starting Point Search Bar */
.wpip-starting-point-search {
    background: #fff;
    border-radius: 6px;
    padding: 12px;
    position: relative;
}

.wpip-ending-point-section {
    background: var(--wpip-soft-accent);
    border: 1px solid #d7e9e4;
    border: 1px solid color-mix(in srgb, var(--wpip-accent) 22%, #fff);
    border-radius: 8px;
    margin: 4px 0 20px;
    padding: 16px;
    position: relative;
}

.wpip-ending-point-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

button.wpip-ending-point-trigger {
    font-size: 14px;
}

.wpip-link-button {
    border: 0;
    background: transparent;
    color: var(--wpip-accent);
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.wpip-link-button:hover {
    color: var(--wpip-accent-hover);
    text-decoration: underline;
}

.wpip-ending-route-summary {
    margin-bottom: 20px;
}

.wpip-ending-point-trigger {
    width: auto;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.wpip-ending-point-trigger:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.wpip-starting-point-search .wpip-search-bar {
    display: flex;
    gap: 8px;
}

.wpip-starting-point-search .wpip-compact-search-bar {
    gap: 0;
}

.wpip-starting-point-search .wpip-search-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
}

.wpip-my-location-btn {
    margin-top: 10px;
    width: 100%;
    min-height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.wpip-my-location-btn span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wpip-my-location-btn:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #9ca3af;
}

.wpip-my-location-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.wpip-starting-point-search .wpip-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.wpip-starting-point-search .wpip-compact-search-wrapper .wpip-search-results {
    position: static;
    box-shadow: none;
}

/* Starting Point Card */
.wpip-starting-point-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    position: relative;
    border: 1px solid #d1d5db;
}

.wpip-starting-point-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.2s;
}

.wpip-starting-point-remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

.wpip-starting-point-edit:hover {
    background: var(--wpip-soft-accent);
    color: var(--wpip-accent);
}

.wpip-ending-point-edit {
    right: 44px;
}

.wpip-ending-point-remove {
    right: 8px;
}

.wpip-starting-point-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wpip-starting-point-icon {
    width: 48px;
    height: 48px;
    background: #047857;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.wpip-starting-point-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.wpip-starting-point-details strong {
    font-size: 16px;
    color: #1f2937;
    word-break: break-word;
}

.wpip-starting-point-details small {
    font-size: 13px;
    color: #6b7280;
    word-break: break-word;
}

/* Source Badge */
.wpip-source-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    width: fit-content;
}

/* No Results */
.wpip-no-results {
    padding: 20px;
    text-align: center;
    color: #6b7280;
}

.wpip-no-results i {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
    color: #b45309;
}

.wpip-no-results p {
    margin: 0;
    font-size: 14px;
}

/* Search Info */
.wpip-search-info {
    margin-top: 8px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.45;
}

.wpip-search-info i {
    margin-right: 4px;
    color: var(--wpip-accent);
}

/* Hint Box */
.wpip-hint-box {
    margin: 20px 0;
    padding: 16px;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #92400e;
    font-size: 14px;
}

.wpip-hint-box i {
    font-size: 20px;
    color: #92400e;
}

/* Result Thumb Placeholder */
.wpip-result-thumb-placeholder {
    width: 60px;
    height: 60px;
    background: #f3f4f6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 24px;
    flex-shrink: 0;
}

/* ============================================
   DESTINATION CARD - NEW DESIGN
   ============================================ */

.wpip-destination-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.wpip-destination-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

/* Card Header */
.wpip-card-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.wpip-card-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.wpip-card-heading-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.wpip-card-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.wpip-arrival-time {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    min-width: 60px;
}

.wpip-destination-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    width: 100%;
    line-height: 1.3;
    overflow-wrap: anywhere;
    white-space: normal;
}

.wpip-card-actions {
    display: flex;
    gap: 4px;
    flex: 0 0 auto;
}

.wpip-card-action-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.2s;
}

.wpip-card-action-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.wpip-btn-expand:hover {
    background: var(--wpip-soft-accent);
    color: var(--wpip-accent);
}

.wpip-btn-edit:hover {
    background: #fef3c7;
    color: #d97706;
}

.wpip-btn-delete:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Card Body */
.wpip-card-body {
    padding: 20px;
}

.wpip-card-content-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.wpip-card-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.wpip-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpip-info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

.wpip-info-item i {
    font-size: 16px;
    color: #6b7280;
    margin-top: 2px;
}

.wpip-info-price {
    font-weight: 600;
    color: #059669;
}

.wpip-info-price i {
    color: #059669;
}

.wpip-info-hours {
    color: #6b7280;
}

/* Custom Fields Display */
.wpip-custom-fields-display {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.wpip-custom-field {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 24px;
    margin-bottom: 8px;
    font-size: 14px;
}

.wpip-field-label {
    color: #6b7280;
    font-weight: 500;
}

.wpip-field-value {
    color: #111827;
    font-weight: 600;
}

.wpip-custom-note {
    margin-top: 12px;
    padding: 12px;
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    border-radius: 6px;
    font-size: 13px;
    color: #78350f;
    line-height: 1.5;
}

/* Expand Custom Fields Link */
.wpip-expand-custom-fields {
    margin-top: 12px;
}

.wpip-link-expand {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: color 0.2s;
}

.wpip-link-expand:hover {
    color: var(--wpip-accent);
}

.wpip-link-expand i {
    font-size: 14px;
}

.wpip-inline-custom {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
}

.wpip-point-inline-custom {
    width: 100%;
    margin-top: 10px;
}

.wpip-inline-custom-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.wpip-budget-mode-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.wpip-budget-mode-toggle button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 4px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    color: #4b5563;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.wpip-budget-mode-toggle button:hover,
.wpip-budget-mode-toggle button.is-active {
    border-color: #ff6310;
    background: rgba(255, 99, 16, 0.1);
    color: #c2410c;
}

.wpip-inline-link,
.wpip-inline-note-text {
    border: 0;
    background: transparent;
    color: #6b7280;
    padding: 0;
    width: fit-content;
    max-width: 100%;
    border-bottom: 1px dotted currentColor;
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.wpip-inline-link:hover,
.wpip-inline-note-text:hover,
.wpip-inline-note-toggle:hover {
    color: var(--wpip-accent);
}

.wpip-inline-field {
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font-size: 13px;
    line-height: 1.2;
}

.wpip-inline-field input,
.wpip-inline-note-input {
    border: 0;
    border-bottom: 1px solid #9ca3af;
    border-radius: 0;
    background: transparent;
    color: #374151;
    min-width: 0;
    min-height: 26px;
    height: 26px;
    padding: 2px 4px;
    font-size: 14px!important;
    line-height: 20px;
    outline: none;
}

.wpip-inline-field input {
    width: 88px;
}

.wpip-inline-note-link,
.wpip-inline-note,
.wpip-inline-note-input {
    margin-top: 10px;
}

.wpip-inline-note {
    color: #6b7280;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
}

.wpip-inline-note-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    width: 100%;
    max-width: 100%;
    border-bottom: 1px dotted currentColor;
}

.wpip-inline-note-toggle {
    border: 0;
    background: transparent;
    color: #6b7280;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    font-family: inherit;
}

.wpip-inline-note-toggle i {
    margin-top: 2px;
    font-size: 16px;
}

.wpip-inline-note-expanded .wpip-inline-note-text {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.wpip-inline-note-input {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 2px 0 4px;
    resize: vertical;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.wpip-inline-done-btn {
    border: 0;
    border-radius: 6px;
    background: var(--wpip-soft-accent);
    color: var(--wpip-accent);
    margin-top: 12px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.wpip-inline-done-btn:hover {
    background: #e6f3f0;
    background: color-mix(in srgb, var(--wpip-accent) 16%, #fff);
}

/* Card Expanded State */
.wpip-card-expanded {
    border-color: var(--wpip-accent);
    box-shadow: 0 0 0 3px var(--wpip-soft-accent);
}

/* Responsive */
@media (max-width: 768px) {
    .wpip-card-header {
        padding: 12px 16px;
    }
    
    .wpip-arrival-time {
        font-size: 14px;
        min-width: 50px;
    }
    
    .wpip-destination-title {
        font-size: 16px;
    }
    
    .wpip-card-body {
        padding: 16px;
    }
    
    .wpip-card-content-row {
        flex-direction: column;
    }
    
    .wpip-card-image {
        width: 100%;
        height: 150px;
    }
    
    .wpip-custom-field {
        display: block;
        margin-bottom: 8px;
    }
}

/* ============================================
   CUSTOM FORM INPUTS
   ============================================ */

.wpip-custom-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
}

.wpip-form-group {
    margin-bottom: 20px;
}

.wpip-form-group:last-child {
    margin-bottom: 0;
}

.wpip-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.wpip-form-label i {
    font-size: 16px;
    color: #6b7280;
}

.wpip-form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
    background: #f9fafb;
}

.wpip-form-input:focus {
    outline: none;
    border-color: var(--wpip-accent);
    background: #fff;
    box-shadow: 0 0 0 3px var(--wpip-soft-accent);
}

.wpip-form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.2s;
    background: #f9fafb;
}

.wpip-form-textarea:focus {
    outline: none;
    border-color: var(--wpip-accent);
    background: #fff;
    box-shadow: 0 0 0 3px var(--wpip-soft-accent);
}

.wpip-form-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}

/* ============================================
   EXPAND CUSTOM FIELDS LINK
   ============================================ */

.wpip-expand-custom-fields {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.wpip-link-expand {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.wpip-link-expand:hover {
    color: var(--wpip-accent);
    background: var(--wpip-soft-accent);
}

.wpip-link-expand i {
    font-size: 14px;
}

/* ============================================
   DRAG & DROP VISUAL FEEDBACK
   ============================================ */

.wpip-destination-card[draggable="true"] {
    cursor: grab;
}

.wpip-destination-card[draggable="true"]:active {
    cursor: grabbing;
}

.wpip-destination-card.dragging {
    opacity: 0.5;
    border: 2px dashed var(--wpip-accent);
}

.wpip-destination-wrapper.drag-over {
    position: relative;
}

.wpip-destination-wrapper.drag-over::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--wpip-accent);
    border-radius: 2px;
    z-index: 10;
}

/* ============================================
   DISABLE DRAG IN EDIT MODE
   ============================================ */

.wpip-card-editing {
    cursor: default !important;
}

.wpip-card-editing[draggable="true"] {
    cursor: default !important;
}

/* Responsive */
@media (max-width: 768px) {
    .wpip-custom-form {
        margin-top: 16px;
        padding-top: 16px;
    }
    
    .wpip-form-label {
        font-size: 13px;
    }
    
    .wpip-form-input,
    .wpip-form-textarea {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* ============================================
   CUSTOM FORM INPUTS - INDEPENDENT TOGGLE
   ============================================ */

.wpip-custom-form {
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 10px;
    border-top: 2px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
}

.wpip-form-group {
    margin-bottom: 20px;
}

.wpip-form-group:last-child {
    margin-bottom: 12px;
}

.wpip-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.wpip-form-label i {
    font-size: 16px;
    color: #6b7280;
}

.wpip-form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
    background: #fff;
}

.wpip-form-input:focus {
    outline: none;
    border-color: var(--wpip-accent);
    box-shadow: 0 0 0 3px var(--wpip-soft-accent);
}

.wpip-form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.2s;
    background: #fff;
}

.wpip-form-textarea:focus {
    outline: none;
    border-color: var(--wpip-accent);
    box-shadow: 0 0 0 3px var(--wpip-soft-accent);
}

.wpip-form-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}

.wpip-form-actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
}

/* ============================================
   EXPAND CUSTOM FIELDS LINK
   ============================================ */

.wpip-expand-custom-fields {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e5e7eb;
}

.wpip-link-expand {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.wpip-link-expand:hover {
    color: var(--wpip-accent);
    background: var(--wpip-soft-accent);
}

.wpip-link-expand i {
    font-size: 14px;
}

/* ============================================
   DISPLAY CUSTOM FIELDS
   ============================================ */

.wpip-custom-fields-display {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.wpip-custom-field {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 24px;
    margin-bottom: 8px;
    font-size: 14px;
}

.wpip-field-label {
    color: #6b7280;
    font-weight: 500;
}

.wpip-field-value {
    color: #111827;
    font-weight: 600;
}

.wpip-custom-note {
    margin-top: 12px;
    padding: 12px;
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    border-radius: 6px;
    font-size: 13px;
    color: #78350f;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .wpip-custom-form {
        margin-top: 16px;
        padding: 12px;
    }
    
    .wpip-form-label {
        font-size: 13px;
    }
    
    .wpip-form-input,
    .wpip-form-textarea {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .wpip-custom-field {
        display: block;
        margin-bottom: 8px;
    }
}



/* ============================================
   LOADING SPINNER FOR BUTTONS
   ============================================ */

/* Tabler Icons spin animation */
.ti-spin {
    animation: wpip-spin 1s linear infinite;
}

@keyframes wpip-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Button loading state */
.wpip-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wpip-btn-primary:disabled {
    background: #94c5ba;
    background: color-mix(in srgb, var(--wpip-accent) 42%, #fff);
}

/* Search input disabled state */
.wpip-search-input:disabled {
    background: #f3f4f6;
    cursor: not-allowed;
}

/* ============================================
   DESTINATION CARD EDIT MODE
   ============================================ */

.wpip-card-editing {
    border: 2px solid var(--wpip-accent) !important;
    box-shadow: 0 4px 20px rgba(1, 115, 92, 0.18) !important;
    box-shadow: 0 4px 20px color-mix(in srgb, var(--wpip-accent) 18%, transparent) !important;
}

.wpip-card-edit-mode {
    padding: 16px;
}

.wpip-card-edit-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.wpip-card-edit-header h4 {
    margin: 0 0 4px;
    color: var(--wpip-accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.wpip-card-edit-header p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.wpip-card-edit-current {
    margin-bottom: 16px;
}

.wpip-current-place {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f3f4f6;
    border-radius: 8px;
    border: 2px dashed #d1d5db;
}

.wpip-current-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.wpip-current-info {
    flex: 1;
    min-width: 0;
}

.wpip-current-info strong {
    display: block;
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wpip-current-info small {
    font-size: 12px;
    color: #6b7280;
}

.wpip-card-edit-search {
    margin-bottom: 16px;
}

.wpip-edit-search-results {
    margin-top: 12px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.wpip-card-edit-actions {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.wpip-card-edit-actions .wpip-btn {
    flex: 1;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .wpip-card-edit-mode {
        padding: 12px;
    }
    
    .wpip-current-place {
        flex-direction: column;
        text-align: center;
    }
    
    .wpip-current-info strong {
        white-space: normal;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .wpip-builder input,
    .wpip-builder textarea,
    .wpip-builder select {
        font-size: 16px;
    }

    .wpip-builder input::placeholder,
    .wpip-builder textarea::placeholder {
        font-size: 16px;
    }

    .wpip-builder-container {
        padding: 16px 16px 92px;
    }

    .wpip-section {
        margin-bottom: 20px;
    }

    .wpip-days-section {
        padding: 10px 0;
        top: 0;
        margin-left: -16px;
        margin-right: -16px;
        border-radius: 0;
        background: #f9fafb;
    }

    .wpip-days-tabs {
        padding-left: 16px;
    }

    .wpip-builder-heading {
        margin-bottom: 20px;
    }

    .wpip-builder-heading h1 {
        font-size: 16px;
    }

    .wpip-builder-heading p {
        color: #111827;
        font-size: 14px;
    }

    .wpip-header-summary-desktop {
        display: none;
    }

    .wpip-header-summary-mobile {
        display: grid;
        gap: 12px;
        padding: 20px;
        border-radius: 14px;
        background: #fff;
        border: 1px solid #e5e7eb;
        box-shadow: 0 1px 8px rgba(15, 23, 42, 0.08);
    }

    .wpip-header-summary-mobile-clickable {
        cursor: pointer;
    }

    .wpip-header-summary-mobile-clickable:focus-visible {
        outline: 2px solid var(--wpip-accent);
        outline-offset: 3px;
    }

    .wpip-mobile-summary-row {
        min-width: 0;
    }

    .wpip-mobile-summary-row-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .wpip-mobile-summary-row-top strong {
        display: block;
        color: #111827;
        font-size: 20px;
        line-height: 1.35;
        font-weight: 600;
        overflow-wrap: anywhere;
        text-transform: capitalize;
    }

    .wpip-mobile-summary-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        color: #4b5563;
        font-size: 15px;
    }

    .wpip-mobile-summary-meta b {
        color: #111827;
    }

    .wpip-mobile-header-editor {
        gap: 14px;
        margin-top: 0;
        padding: 14px;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
    }

    .wpip-mobile-editor-fields {
        display: grid;
        gap: 10px;
    }

    .wpip-mobile-traveler-field {
        position: relative;
        display: block;
    }

    .wpip-mobile-traveler-field i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #6b7280;
        font-size: 16px;
        pointer-events: none;
    }

    .wpip-mobile-traveler-field .wpip-input {
        width: 100%;
        padding-left: 38px;
    }

    .wpip-mobile-editor-actions {
        display: flex;
        gap: 10px;
    }

    .wpip-mobile-editor-actions .wpip-btn {
        flex: 1;
        justify-content: center;
    }

    .wpip-mobile-date-btn {
        min-height: 42px;
        padding: 10px 12px;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        background: #fff;
        display: flex;
        align-items: center;
        gap: 8px;
        color: #111827;
        font-size: 14px;
        cursor: pointer;
    }

    .wpip-day-header {
        padding: 0px;
    }

    .wpip-day-meta {
        gap: 6px;
        font-size: 14px;
    }

    .wpip-day-time-input {
        width: 82px;
        font-size: 14px;
    }

    .wpip-day-header h3 {
        margin-top: 12px;
        font-size: 20px;
    }

    .wpip-shortest-route-btn {
        gap: 8px;
        font-size: 14px;
    }

    .wpip-shortest-route-btn i {
        font-size: 18px;
    }

    .wpip-add-destination-actions {
        align-items: stretch;
        gap: 8px;
    }

    .wpip-add-destination-actions .wpip-btn,
    .wpip-ending-point-trigger {
        flex: 1 1 160px;
        min-width: 0;
        white-space: nowrap;
    }

    .wpip-builder-right {
        order: -1;
        position: relative;
        top: auto;
        z-index: 1;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .wpip-builder-skeleton .wpip-builder-right {
        order: -1;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .wpip-map {
        height: 320px;
        border-radius: 0;
        box-shadow: none;
    }

    .wpip-skeleton-header-grid {
        grid-template-columns: 1fr;
    }

    .wpip-skeleton-panel {
        height: 72px;
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .wpip-skeleton-panel:last-child {
        border-bottom: 0;
    }

    .wpip-skeleton-dest-body {
        grid-template-columns: 96px 1fr;
    }

    .wpip-skeleton-image {
        width: 96px;
        height: 96px;
    }

    .wpip-skeleton-map {
        height: 260px;
    }

    .wpip-map-summary {
        padding: 0 14px;
        margin-bottom: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .wpip-map-summary::-webkit-scrollbar {
        display: none;
    }

    .wpip-btn.wpip-map-drive-btn {
        left: 10px;
        bottom: 10px;
        gap: 10px;
        min-width: 120px;
        min-height: 40px;
        padding: 5px 7px 5px 14px;
        border-radius: 8px;
        border-width: 2px;
    }

    .wpip-btn.wpip-map-drive-btn .wpip-drive-icon {
        width: 30px;
        height: 30px;
    }

    .wpip-btn.wpip-map-drive-btn .wpip-drive-icon i {
        font-size: 19px;
    }

    .wpip-btn.wpip-map-drive-btn > span:last-child {
        font-size: 13px;
    }

    .wpip-actions-section {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        margin: 0;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
        border-top: 1px solid #e5e7eb;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12);
        backdrop-filter: blur(10px);
        pointer-events: auto;
    }

    .wpip-actions-bar {
        justify-content: stretch;
        flex-wrap: nowrap;
        gap: 8px;
        max-width: none;
        padding: 0;
        overflow: visible;
    }

    .wpip-actions-bar > .wpip-action-primary {
        flex: 1 1 0;
    }

    .wpip-actions-bar > .wpip-action-secondary,
    .wpip-actions-menu {
        flex: 1 1 0;
        min-width: 0;
    }

    .wpip-actions-bar .wpip-btn {
        min-height: 40px;
        padding: 9px 10px;
        justify-content: center;
        font-size: 13px;
        white-space: nowrap;
    }

    .wpip-actions-menu .wpip-action-secondary {
        width: 100%;
        min-width: 0;
    }

    .wpip-actions-dropdown {
        position: fixed;
        right: 12px;
        left: 12px;
        bottom: calc(62px + env(safe-area-inset-bottom));
        width: auto;
        min-width: 0;
        border-radius: 14px;
        padding: 8px;
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.24);
    }

    .wpip-actions-dropdown button {
        min-height: 44px;
        font-size: 14px;
    }

    .wpip-btn-full {
        width: 100%;
    }
}

/* ============================================
   LOCATION INFO (KOTA, PROVINSI)
   ============================================ */

.wpip-info-location {
    color: #6b7280;
    font-size: 13px;
}

.wpip-info-location i {
    color: #ef4444 !important; /* Warna merah untuk icon lokasi */
}

.wpip-info-location span {
    font-weight: 500;
    color: #374151;
}
