/* ADD THIS STYLE TO YOUR styles.css FILE for consistency */
        .boss-location-image {
            max-width: 100%; /* Ensure image is responsive */
            height: auto;
            border-radius: 8px;
            margin-top: 15px;
            border: 3px solid #713c88; /* Consistent border style */
        }
        /* Style for the container that holds the dynamic info */
        #boss-dynamic-info {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px dashed #ccc; /* Separator line for clarity */
        }

        /* --- NEW STYLES FOR SEARCH / SUGGESTIONS --- */
        .search-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            max-width: 600px; /* Adjust to accommodate button */
            margin: 0 auto 20px;
            gap: 10px;
        }
        .search-container {
            position: relative; /* Needed to position suggestions */
            max-width: 400px;
            flex-grow: 1; /* Allows it to take up available space */
        }
        #boss-input {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            box-sizing: border-box;
            border: 2px solid #532d64;
            border-radius: 5px;
        }
        #suggestions-container {
            position: absolute;
            width: 100%;
            background-color: #fff;
            border: 1px solid #ddd;
            border-top: none;
            max-height: 200px;
            overflow-y: auto;
            z-index: 10;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            text-align: left;
        }
        .suggestion-item {
            padding: 10px;
            cursor: pointer;
            border-bottom: 1px solid #eee;
            color: #532d64;
            font-weight: bold;
        }
        .suggestion-item:hover, .suggestion-item.active-suggestion {
            background-color: #ede1f2; /* Light hover effect */
        }
        
        /* Clear Button Styles */
        #clear-boss-btn {
            padding: 10px 15px;
            font-size: 16px;
            background-color: #713c88;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        #clear-boss-btn:hover:not(:disabled) {
            background-color: #532d64;
        }
        #clear-boss-btn:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }
        /* ===== PokeDuel Badge & Party Styles ===== */
        .preview-badge {
            font-weight:600;
            color:#222;
            background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,250,250,0.9));
            border: 1px solid rgba(0,0,0,0.06);
        }
        .party-card {
            display:flex;
            align-items:center;
            gap:8px;
            padding:8px;
            background: rgba(255,255,255,0.03);
            border-radius:8px;
        }
        .party-card .party-thumb {
            width:48px;
            height:48px;
            object-fit:contain;
            border-radius:6px;
            border:1px solid rgba(0,0,0,0.06);
            background: rgba(255,255,255,0.06);
        }
        .party-card .party-info { flex:1; display:flex; flex-direction:column; }
        .party-card .party-info strong{ font-size:13px; }
        .party-card .ball-label { font-size:11px; color:#555; margin-top:4px; }
        .party-card:hover { box-shadow: 0 6px 14px rgba(0,0,0,0.06); }
        /* Small preview item badge positioning */
        .preview-item { position: relative; display:inline-block; margin:6px; }
        .preview-item .preview-badge { position:absolute; left:6px; bottom:6px; padding:3px 6px; border-radius:10px; font-size:11px; box-shadow:0 2px 6px rgba(0,0,0,0.08); }
        /* Tooltip-like hint for EXP (uses native title as fallback) */
        .party-card[title], .preview-item[title], .poke-card[title] { cursor:help; }
        /* Styled EXP tooltip */
        #exp-tooltip {
            position: fixed;
            pointer-events: none;
            background: rgba(12,12,12,0.95);
            color: #fff;
            padding: 6px 8px;
            border-radius: 6px;
            font-size: 12px;
            box-shadow: 0 6px 16px rgba(0,0,0,0.4);
            z-index: 9999;
            white-space: nowrap;
            transform: translateY(-8px);
            transition: opacity 0.12s ease, transform 0.12s ease;
            opacity: 0;
            display: inline-block;
        }
        #exp-tooltip.visible { opacity: 1; transform: translateY(0); }
        #exp-tooltip .tip-title { font-weight:700; margin-right:6px; }
        .ball-img { width:18px; height:18px; vertical-align:middle; margin-right:6px; }
        /* Ensure level text is visible inside party cards */
        .party-card .poke-level { font-size:12px; color:#222; margin-left:8px; }
        /* Preview badge: smaller ball icon */
        .preview-badge .ball-img { width:14px; height:14px; margin-right:6px; vertical-align:middle; }