 body, .cod-fiscal-content, .cod-fiscal-content * {
        font-family: 'Segoe UI', 'Arial', sans-serif !important;
        padding: 2%;
    }
    /* --- Adăugat pentru X în dropdown --- */
    .dropdown-x-btn {
        position: absolute;
        top: 50%;
        right: 0.5rem;
        transform: translateY(-50%);
        width: 2rem;
        height: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 50%;
        box-shadow: 0 1px 4px rgba(0,0,0,0.06);
        color: #b0b0b0;
        cursor: pointer;
        transition: background 0.2s, color 0.2s, border 0.2s;
        z-index: 10;
        padding: 0;
    }
    .dropdown-x-btn:hover {
        background: #ffeaea;
        color: #e53e3e;
        border-color: #e53e3e;
    }
    /* Ascunde săgeata default la select dacă vrei și mai curat:
    #codFiscalTitluDropdown {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: none !important;
    }
    */
.highlight {
        background-color: yellow;
        color: black;
        font-weight: bold;
    }
    #codFiscalSuggestionsContainer {
        position: absolute;
        z-index: 50;
        left: 0;
        right: 0;
        top: 100%;
        background-color: white;
        border: 1px solid #ccc;
        border-radius: 0.75rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-height: 15rem;
        overflow-y: auto;
    }
    #codFiscalSearchInput {
        border: none !important;
    }

    /* Tom.js styling */
    .ts-wrapper.form-control.single {
        border: 1px solid #d1d5db;
        border-radius: 0.75rem;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        background: linear-gradient(90deg, #e0f2fe 0%, #bbf7d0 100%);
        color: #1f2937;
        padding: 0.5rem 0.75rem;
        min-height: 2.5rem;
        font-size: 1rem;
    }
    .ts-wrapper .ts-control {
        padding: 0;
        border: none;
        background: transparent;
        min-height: 1.5rem;
        font-size: 1rem;
    }
    .ts-control input {
        display: none !important;
    }
    .ts-dropdown {
        border: 1px solid #ccc;
        border-radius: 0.75rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        background: linear-gradient(90deg, #e0f2fe 0%, #bbf7d0 100%);
        overflow-y: auto;
        z-index: 60;
        max-height: 50rem !important;
        height: auto !important;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }
    .ts-dropdown .option {
        padding: 0.75rem 1rem;
        cursor: pointer;
        font-size: 1rem;
        color: #374151;
    }
    .ts-dropdown .option.active {
        background-color: #e0f2fe;
        color: #1f2937;
    }
    .ts-dropdown-content {
        max-height: none !important;
        height: auto !important;
    }
    .ts-dropdown .ts-dropdown-content {
        max-height: 50rem !important;
    }
    .ts-wrapper.form-control.single.ts-placeholder .ts-control {
        color: #6b7280;
    }
    @media (max-width: 768px) {
        .ts-wrapper.form-control.single {
            font-size: 0.9rem;
        }
        .ts-wrapper .ts-control input {
            font-size: 0.9rem;
        }
        .ts-dropdown {
            max-height: 20rem;
            width: calc(100% - 2rem);
            left: 1rem;
            right: 1rem;
            top: auto !important;
            bottom: auto !important;
            position: absolute;
        }
        .ts-dropdown.mobile {
            position: absolute !important;
            top: auto !important;
            bottom: auto !important;
            left: 1rem !important;
            right: 1rem !important;
            width: calc(100% - 2rem) !important;
            max-height: 20rem !important;
        }
        #codFiscalContinutTitlu {
            padding-left: 1rem;
            padding-right: 1rem;
        }
    }