/* =========================================================
   GLOBAL MOBILE RESET
   ========================================================= */
#pane-prospek, 
#pane-prospek * {
    box-sizing: border-box;
    font-family: Inter, sans-serif;
}

/* =========================================================
   FILTER HEADER (sticky)
   ========================================================= */
.ubp-prospek-filter-bar {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 10px;
    scrollbar-width: none;
}
.ubp-prospek-filter-bar::-webkit-scrollbar { display: none; }

.ubp-chip {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #d1d5db;
    background: white;
    white-space: nowrap;
    transition: .15s;
}
.ubp-chip.active {
    background: #3B82F6;
    color: white;
    border-color: #3B82F6;
}

/* =========================================================
   CARD PROSPEK
   ========================================================= */
.ubp-card-prospek {
    background: white;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
    border-left: 5px solid #3B82F6;
    margin-bottom: 14px;
}

.ubp-prospek-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ubp-prospek-sub {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

/* Progress Text */
.ubp-progress-label {
    font-size: 12px;
    color: #4b5563;
    margin-bottom: 4px;
}

/* Progress Bar */
.ubp-progress-bar-wrap {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}
.ubp-progress-bar {
    height: 6px;
    background: #3B82F6;
    transition: width .3s;
}

/* Score Tag */
.ubp-score-tag {
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
}

/* Action Buttons */
.ubp-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
}
.ubp-btn-wa {
    flex: 1;
    background: #10B981;
    color: white;
    padding: 8px 0;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}
.ubp-btn-detail {
    width: 90px;
    background: #3B82F6;
    color: white;
    padding: 8px 0;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

/* =========================================================
   MODAL MOBILE FIRST
   ========================================================= */
#ubpProspekModal {
    padding: 0 !important;
}
#ubpProspekModal > div {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    padding: 18px !important;
    overflow-y: auto;
    animation: slideUp .25s ease-out;
}
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

#ubpProspekModalClose {
    top: 14px !important;
    right: 14px !important;
    border-radius: 50% !important;
    padding: 8px 12px !important;
}

/* Timeline */
.ubp-timeline-item {
    margin-bottom: 16px;
    position: relative;
    padding-left: 20px;
}
.ubp-timeline-item:before {
    content: "";
    width: 10px;
    height: 10px;
    background: #3B82F6;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 3px;
}
.ubp-timeline-item-label {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}
.ubp-timeline-item-time {
    font-size: 12px;
    color: #6b7280;
}
.ubp-timeline-item-note {
    margin-top: 4px;
    font-size: 13px;
}

/* Notes textarea */
#ubpModalNoteField {
    border-radius: 8px !important;
    padding: 10px !important;
    border: 1px solid #d1d5db !important;
}

/* Add Note button */
#ubpModalAddNote {
    width: 100%;
    margin-top: 10px;
    padding: 10px 0;
    border-radius: 8px;
    background: #3B82F6;
    color: white;
    font-size: 15px;
}

.ubp-actions button,
.ubp-actions a {
    pointer-events: auto !important;
    z-index: 99 !important;
}

.ubp-card-prospek {
    position: relative;
    overflow: visible;
}